mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
It was process.exit
This commit is contained in:
parent
14ef3fcfca
commit
0bae38ae16
|
@ -31,10 +31,10 @@ clean(dir)
|
|||
} else {
|
||||
console.error('> Couldn\'t find a `pages` directory. Please create one under the project root')
|
||||
}
|
||||
exit(1)
|
||||
process.exit(1)
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err)
|
||||
exit(1)
|
||||
process.exit(1)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue