mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 09:08:46 +00:00
return non-zero exit code when testrun produces an error (fixes #66218)
This commit is contained in:
parent
527b6628e6
commit
5a892a6450
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape {
|
|||
}
|
||||
|
||||
// after tests have run, we shutdown the host
|
||||
this._gracefulExit(failures && failures > 0 ? 1 /* ERROR */ : 0 /* OK */);
|
||||
this._gracefulExit(error || (typeof failures === 'number' && failures > 0) ? 1 /* ERROR */ : 0 /* OK */);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue