config-loader: remove support for conditionally reading secrets

This commit is contained in:
Patrik Oldsberg
2020-11-08 15:30:03 +01:00
parent f4af5d1dce
commit 7298f8b265
8 changed files with 7 additions and 111 deletions
-1
View File
@@ -40,7 +40,6 @@ export async function loadBackendConfig(options: Options): Promise<Config> {
env: process.env.APP_ENV ?? process.env.NODE_ENV ?? 'development',
configRoot: paths.targetRoot,
configPaths: configOpts.map(opt => resolvePath(opt)),
shouldReadSecrets: true,
});
options.logger.info(