Skip to content

Commit

Permalink
Update log to a warning when deprecated config is found
Browse files Browse the repository at this point in the history
  • Loading branch information
evanweible-wf committed Nov 21, 2024
1 parent 6934175 commit d5e3278
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/src/builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,9 @@ class DartTestYamlBuilder extends Builder {
AssetId(buildStep.inputId.package, 'dart_test.yaml');
final dartTestYaml = await buildStep.readAsString(dartTestYamlId);
if (dartTestYaml.contains('test/dart_test.browser_aggregate.yaml')) {
log.fine(
'Found `test/dart_test.browser_aggregate.yaml` in `dart_test.yaml`, will generate it for backwards-compatibility.');
log.warning(
'Found `test/dart_test.browser_aggregate.yaml` in `dart_test.yaml`, will generate it for backwards-compatibility.\n'
'Please update your `dart_test.yaml` to include `dart_test.browser_aggregate.yaml` instead.');
shouldWriteBackwardsCompatOutput = true;
} else {
log.fine(
Expand Down

0 comments on commit d5e3278

Please sign in to comment.