Don't duplicate external webview commit in so many places

This commit is contained in:
Matt Bierner
2019-09-16 14:14:40 -07:00
parent 04da82c1d2
commit 1ee616d802
6 changed files with 34 additions and 35 deletions

View File

@@ -41,8 +41,7 @@ export class ExtHostWebview implements vscode.Webview {
public get cspSource(): string {
return this._initData.webviewCspSource
.replace('{{uuid}}', this._handle)
.replace('{{commit}}', this._initData.commit || '211fa02efe8c041fd7baa8ec3dce199d5185aa44');
.replace('{{uuid}}', this._handle);
}
public get html(): string {