bundlesize fail should fail build

This commit is contained in:
Jake Bolam
2018-04-22 12:00:54 -04:00
parent 06dc0ad617
commit be69769f57

View File

@@ -96,4 +96,6 @@ program.on('--help', () => {
program.parse(process.argv)
logger.log('')
process.exitCode = mainSafe()
mainSafe().then(errorCode => {
process.exitCode = errorCode
})