From 370a4d9d9e772674c108fc46230f4defc7cc478f Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Fri, 29 Sep 2017 21:09:33 +0200 Subject: [PATCH] fix: Fix show changelog command --- extensions/helpers/changelog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/helpers/changelog.ts b/extensions/helpers/changelog.ts index a3221ea..f1edc28 100644 --- a/extensions/helpers/changelog.ts +++ b/extensions/helpers/changelog.ts @@ -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);