mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 19:23:08 +02:00
Fix npm run debug
not working
This commit is contained in:
parent
b780ea336c
commit
39060374c2
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue