mirror of
https://github.com/eugeny/tabby
synced 2025-12-11 18:25:57 +00:00
Print error before exit
This commit is contained in:
@@ -21,4 +21,7 @@ builder({
|
||||
} : undefined,
|
||||
},
|
||||
publish: ( process.env.GH_TOKEN || process.env.GITHUB_TOKEN ) ? ( isTag ? 'always' : 'onTagOrDraft' ) : 'never',
|
||||
}).catch(() => process.exit(1))
|
||||
}).catch(e => {
|
||||
console.error(e)
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user