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,
overrideEnvironmentName: overrideEnvironmentName,
envPath: envPath,
onWarning: app.logger == null
? null
: (msg) => app.logger?.warning('WARNING: $msg'),
onWarning: (msg) => app.logger.warning('WARNING: $msg'),
);
app.configuration.addAll(mergeMap(
[