Updated configuration

This commit is contained in:
thomashii 2022-02-24 08:36:51 +08:00
parent 4466926d31
commit f0255b3cd6

View file

@ -135,9 +135,7 @@ AngelConfigurer configuration(FileSystem fileSystem,
directoryPath: directoryPath, directoryPath: directoryPath,
overrideEnvironmentName: overrideEnvironmentName, overrideEnvironmentName: overrideEnvironmentName,
envPath: envPath, envPath: envPath,
onWarning: app.logger == null onWarning: (msg) => app.logger.warning('WARNING: $msg'),
? null
: (msg) => app.logger?.warning('WARNING: $msg'),
); );
app.configuration.addAll(mergeMap( app.configuration.addAll(mergeMap(
[ [