summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormei23 <m@m544.net>2018-08-17 03:51:42 +0900
committermei23 <m@m544.net>2018-08-17 03:51:42 +0900
commit39060374c212ddb5168d2aae6d6d8f74e11b86f5 (patch)
tree124191d3e673b84990105aaf89c468757b1c73ab /src
parent6.2.0 (diff)
downloadmisskey-39060374c212ddb5168d2aae6d6d8f74e11b86f5.tar.gz
misskey-39060374c212ddb5168d2aae6d6d8f74e11b86f5.tar.bz2
misskey-39060374c212ddb5168d2aae6d6d8f74e11b86f5.zip
Fix `npm run debug` not working
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');
}