mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Allow web tests to pass electron path exists check
This commit is contained in:
parent
16a19e4452
commit
3d64c7ef94
|
@ -133,7 +133,7 @@ if (testCodePath) {
|
|||
process.env.VSCODE_CLI = '1';
|
||||
}
|
||||
|
||||
if (!fs.existsSync(electronPath || '')) {
|
||||
if (!opts.web && !fs.existsSync(electronPath || '')) {
|
||||
fail(`Can't find Code at ${electronPath}.`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue