mirror of
https://github.com/zhigang1992/bundlewatch.git
synced 2026-04-29 04:15:22 +08:00
bundlesize fail should fail build
This commit is contained in:
@@ -96,4 +96,6 @@ program.on('--help', () => {
|
||||
program.parse(process.argv)
|
||||
|
||||
logger.log('')
|
||||
process.exitCode = mainSafe()
|
||||
mainSafe().then(errorCode => {
|
||||
process.exitCode = errorCode
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user