mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
break from the loop instead of returning
This commit is contained in:
parent
e019e2484b
commit
96869f5742
|
@ -42,7 +42,7 @@ export class SpectronApplication {
|
|||
for (let arg of args) {
|
||||
if (arg.startsWith('--extensions-dir')) {
|
||||
extensionDirIsSet = true;
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!extensionDirIsSet) {
|
||||
|
|
Loading…
Reference in a new issue