Skip to content

Commit 0bae38a

Browse files
It was process.exit
1 parent 14ef3fc commit 0bae38a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/next-dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ clean(dir)
3131
} else {
3232
console.error('> Couldn\'t find a `pages` directory. Please create one under the project root')
3333
}
34-
exit(1)
34+
process.exit(1)
3535
}
3636
})
3737
.catch((err) => {
3838
console.error(err)
39-
exit(1)
39+
process.exit(1)
4040
})

0 commit comments

Comments
 (0)