diff --git a/packages/configuration/lib/angel3_configuration.dart b/packages/configuration/lib/angel3_configuration.dart index 079239f7..0c65981e 100644 --- a/packages/configuration/lib/angel3_configuration.dart +++ b/packages/configuration/lib/angel3_configuration.dart @@ -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( [