Skip to content

Commit 3d64c7e

Browse files
committed
Allow web tests to pass electron path exists check
1 parent 16a19e4 commit 3d64c7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/smoke/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ if (testCodePath) {
133133
process.env.VSCODE_CLI = '1';
134134
}
135135

136-
if (!fs.existsSync(electronPath || '')) {
136+
if (!opts.web && !fs.existsSync(electronPath || '')) {
137137
fail(`Can't find Code at ${electronPath}.`);
138138
}
139139

0 commit comments

Comments
 (0)