mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 08:14:12 +09:00
fixes
This commit is contained in:
@ -119,8 +119,7 @@ function loadConfigBoot(): Config {
|
||||
if (typeof exception === 'string') {
|
||||
configLogger.error(exception);
|
||||
process.exit(1);
|
||||
}
|
||||
if (exception.code === 'ENOENT') {
|
||||
} else if ((exception as any).code === 'ENOENT') {
|
||||
configLogger.error('Configuration file not found', null, true);
|
||||
process.exit(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user