Skip to content

Commit

Permalink
[dart-fix] Output pubspec error code in lower case, similar to other …
Browse files Browse the repository at this point in the history
…error codes.

Fixes #55945

Change-Id: I3e03148222e215ea1afd53377f83e86e0983bca6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371502
Reviewed-by: Sam Rawlins <[email protected]>
Commit-Queue: Keerti Parthasarathy <[email protected]>
  • Loading branch information
keertip authored and Commit Queue committed Jun 14, 2024
1 parent 1b302b8 commit 205ad1c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,10 @@ class BulkFixProcessor {
for (var fix in result) {
fixes.addAll(fix.change.edits);
}
details.add(BulkFix(pubspecFile.path,
[BulkFixDetail(PubspecWarningCode.MISSING_DEPENDENCY.name, 1)]));
details.add(BulkFix(pubspecFile.path, [
BulkFixDetail(
PubspecWarningCode.MISSING_DEPENDENCY.name.toLowerCase(), 1)
]));
}
}
}
Expand Down

0 comments on commit 205ad1c

Please sign in to comment.