[script] Remove unnecessary breaks in default clauses of switch statements (#7469)

See
https://dart.googlesource.com/sdk.git/+/045d26bc74209f5acc6466669f89686344e83de2
This commit is contained in:
Paul Berry
2024-08-21 10:49:10 -07:00
committed by GitHub
parent c5d03ee2f2
commit b39fc07f44
3 changed files with 0 additions and 3 deletions

View File

@ -149,7 +149,6 @@ class UpdateExcerptsCommand extends PackageLoopingCommand {
language = 'groovy';
default:
language = extension.substring(1);
break;
}
final String section = match.namedGroup('section')!;
final String plaster = match.namedGroup('plaster') ?? '···';