mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 14:52:45 +00:00
Print error before exit
This commit is contained in:
parent
6fbb2a2274
commit
0bc8c3e1de
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue