fix: Fix show changelog command

This commit is contained in:
Mattia Astorino 2017-09-29 21:09:33 +02:00
parent cf827d3f37
commit 370a4d9d9e

View file

@ -5,7 +5,7 @@ import { getDefaultValues, getPackageJSON, writeFile } from "./fs";
import { PATHS } from '../consts/paths'; import { PATHS } from '../consts/paths';
function previewFile(): void { 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); vscode.commands.executeCommand('markdown.showPreview', uri);