mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Forward child process exit code when exiting test script
Signed-off-by: Antonio Scandurra <as-cii@github.com>
This commit is contained in:
committed by
Antonio Scandurra
parent
8f265218df
commit
c47c380ff8
@@ -19,4 +19,5 @@ const testArguments = [
|
||||
]
|
||||
|
||||
console.log('Executing core specs...'.bold.green)
|
||||
childProcess.spawnSync(executablePath, testArguments, {stdio: 'inherit'})
|
||||
const exitStatus = childProcess.spawnSync(executablePath, testArguments, {stdio: 'inherit'}).status
|
||||
process.exit(exitStatus)
|
||||
|
||||
Reference in New Issue
Block a user