Skip to content

Commit

Permalink
Fix changelog display on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimcn committed Aug 4, 2019
1 parent 5fcf02c commit e1debdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class Extension implements DebugConfigurationProvider, DebugAdapterDescriptorFac
let choice = await window.showInformationMessage('CodeLLDB extension has been updated', 'What\'s new?');
if (choice != null) {
let changelog = path.join(this.context.extensionPath, 'CHANGELOG.md')
let uri = Uri.parse(`file://${changelog}`);
let uri = Uri.file(changelog);
await commands.executeCommand('markdown.showPreview', uri, null, { locked: true });
}
}
Expand Down

0 comments on commit e1debdc

Please sign in to comment.