Skip to content

Commit

Permalink
fix: Fix show changelog command
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattia Astorino committed Sep 29, 2017
1 parent a6ba7db commit 95e6c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/helpers/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getDefaultValues, getPackageJSON, writeFile } from "./fs";
import { PATHS } from '../consts/paths';

function previewFile(): void {
let uri = vscode.Uri.parse(path.join('file:///', PATHS.VSIX_DIR, './CHANGELOG.md'));
let uri = vscode.Uri.file(path.join(PATHS.VSIX_DIR, './CHANGELOG.md'));

vscode.commands.executeCommand('markdown.showPreview', uri);

Expand Down

0 comments on commit 95e6c96

Please sign in to comment.