Enable no-process-exit ESLint rule (#11025)

This commit is contained in:
Huáng Jùnliàng
2020-01-19 18:48:47 -05:00
committed by Nicolò Ribaudo
parent 341964bd4e
commit facfd4d8a1
5 changed files with 14 additions and 16 deletions

View File

@@ -108,4 +108,4 @@ console.log("Cleaning up");
fs.removeSync(tempFolderPath);
fs.removeSync(packPath);
process.exit(errorOccurred ? 1 : 0);
process.exitCode = errorOccurred ? 1 : 0;