mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
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:
parent
614dd5174f
commit
852375649c
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue