1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-02 00:38:14 +09:00

Merge pull request #1582 from saper/exit-on-config-error

Stop webpack on URL error, otherwise gulp continues
This commit is contained in:
syuilo 2018-05-16 07:36:22 +09:00 committed by GitHub
commit fcc59f877c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,5 +53,5 @@ function normalizeUrl(url: string) {
function urlError(url: string) {
console.error(`${url}」は、正しいURLではありません。先頭に http:// または https:// をつけ忘れてないかなど確認してください。`);
process.exit();
process.exit(99);
}