Remove extra whitespace

Mistakenly added as part of #120654

Doesn't seem to cause issues in the current builds but breaks our electron 12 build
This commit is contained in:
Matt Bierner 2021-04-08 13:59:33 -07:00
parent 614dd5174f
commit 852375649c
No known key found for this signature in database
GPG key ID: 099C331567E11888

View file

@ -41,8 +41,8 @@ export class WebviewProtocolProvider extends Disposable {
const entry = WebviewProtocolProvider.validWebviewFilePaths.get(uri.path);
if (typeof entry === 'string') {
const relativeResourcePath = uri.path.startsWith('/electron-browser')
? `vs/workbench/contrib/webview/electron-browser/pre/${entry} `
: `vs/workbench/contrib/webview/browser/pre/${entry} `;
? `vs/workbench/contrib/webview/electron-browser/pre/${entry}`
: `vs/workbench/contrib/webview/browser/pre/${entry}`;
const url = FileAccess.asFileUri(relativeResourcePath, require);
return callback(decodeURIComponent(url.fsPath));