mirror of
https://github.com/Eugeny/tabby
synced 2025-01-05 17:59:02 +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,
|
} : undefined,
|
||||||
},
|
},
|
||||||
publish: ( process.env.GH_TOKEN || process.env.GITHUB_TOKEN ) ? ( isTag ? 'always' : 'onTagOrDraft' ) : 'never',
|
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