Skip to content

Commit

Permalink
Update packages/babel-compat-data/scripts/build-data.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Huáng Jùnliàng <jlhwung@gmail.com>
  • Loading branch information
nicolo-ribaudo and JLHwung committed Jan 16, 2020
1 parent 8339bad commit 7aeda7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-compat-data/scripts/build-data.js
Expand Up @@ -306,7 +306,7 @@ const generateData = (environments, features) => {
"The newly generated plugin/built-in data does not match the current " +
"files. Re-run `make build-compat-data`."
);
process.exit(1);
process.exitCode = 1;
}
} else {
fs.writeFileSync(dataPath, stringified);
Expand Down

0 comments on commit 7aeda7a

Please sign in to comment.