Fix a docs generation bug [skip ci]
This commit is contained in:
parent
caef6a8f09
commit
9b1155c4aa
4 changed files with 4 additions and 127 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
process.on("unhandledRejection", function (e) {
|
||||
process.exitCode = 1
|
||||
if (!e.stdout || !e.stderr) return false
|
||||
if (!e.stdout || !e.stderr) throw e
|
||||
console.error(e.stack)
|
||||
|
||||
if (e.stdout && e.stdout.length) {
|
||||
|
|
@ -12,7 +12,8 @@ process.on("unhandledRejection", function (e) {
|
|||
console.error(e.stderr.toString("utf-8"))
|
||||
}
|
||||
|
||||
return true
|
||||
// eslint-disable-next-line no-process-exit
|
||||
process.exit()
|
||||
})
|
||||
|
||||
module.exports = ({exec, watch}) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue