1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 15:21:46 +09:00

Fix npm run debug not working

This commit is contained in:
mei23 2018-08-17 03:51:42 +09:00
parent b780ea336c
commit 39060374c2

View File

@ -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');
}