diff options
Diffstat (limited to 'server/initializers/checker-before-init.ts')
-rw-r--r-- | server/initializers/checker-before-init.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/initializers/checker-before-init.ts b/server/initializers/checker-before-init.ts index 93c019121..16dc137c0 100644 --- a/server/initializers/checker-before-init.ts +++ b/server/initializers/checker-before-init.ts | |||
@@ -1,7 +1,10 @@ | |||
1 | import * as config from 'config' | 1 | import { IConfig } from 'config' |
2 | import { parseSemVersion, promisify0 } from '../helpers/core-utils' | 2 | import { parseSemVersion, promisify0 } from '../helpers/core-utils' |
3 | import { logger } from '../helpers/logger' | 3 | import { logger } from '../helpers/logger' |
4 | 4 | ||
5 | // Special behaviour for config because we can reload it | ||
6 | const config: IConfig = require('config') | ||
7 | |||
5 | // ONLY USE CORE MODULES IN THIS FILE! | 8 | // ONLY USE CORE MODULES IN THIS FILE! |
6 | 9 | ||
7 | // Check the config files | 10 | // Check the config files |