summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-05-16 07:36:22 +0900
committerGitHub <noreply@github.com>2018-05-16 07:36:22 +0900
commitfcc59f877c4656d51657e634223a23c99b698782 (patch)
treef26b9f1cea57cd39d9c0f44690e34780bb7591b8 /src
parentMerge pull request #1581 from saper/delete_array (diff)
parentStop webpack on URL error, otherwise gulp continues (diff)
downloadmisskey-fcc59f877c4656d51657e634223a23c99b698782.tar.gz
misskey-fcc59f877c4656d51657e634223a23c99b698782.tar.bz2
misskey-fcc59f877c4656d51657e634223a23c99b698782.zip
Merge pull request #1582 from saper/exit-on-config-error
Stop webpack on URL error, otherwise gulp continues
Diffstat (limited to 'src')
-rw-r--r--src/config/load.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/load.ts b/src/config/load.ts
index 9f4e2151f3..fea89b989a 100644
--- a/src/config/load.ts
+++ b/src/config/load.ts
@@ -53,5 +53,5 @@ function normalizeUrl(url: string) {
function urlError(url: string) {
console.error(`「${url}」は、正しいURLではありません。先頭に http:// または https:// をつけ忘れてないかなど確認してください。`);
- process.exit();
+ process.exit(99);
}