summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-08-17 04:04:18 +0900
committerGitHub <noreply@github.com>2018-08-17 04:04:18 +0900
commit7a8d252f637dddab65b2ddb95ee4e8be2a65ce24 (patch)
tree9a1240aff4179eca88bfbde54e8cb20d8b2d5be7 /src
parentMerge pull request #2269 from syuilo/verified-user-ja (diff)
parentFix `npm run debug` not working (diff)
downloadsharkey-7a8d252f637dddab65b2ddb95ee4e8be2a65ce24.tar.gz
sharkey-7a8d252f637dddab65b2ddb95ee4e8be2a65ce24.tar.bz2
sharkey-7a8d252f637dddab65b2ddb95ee4e8be2a65ce24.zip
Merge pull request #2272 from mei23/mei-0817-debuglog
production以外のときに`npm run debug`が効かないのを修正
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index c2994c606c..880bb5a452 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -28,7 +28,7 @@ import { Config } from './config/types';
const clusterLog = debug('misskey:cluster');
const ev = new Xev();
-if (process.env.NODE_ENV != 'production') {
+if (process.env.NODE_ENV != 'production' && process.env.DEBUG == null) {
debug.enable('misskey');
}