Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit cd009e4

Browse files
authored
[script] fix script noop interpolated toString()s (#6175)
1 parent 66dfd2a commit cd009e4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

script/tool/lib/src/common/package_looping_command.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,16 +357,15 @@ abstract class PackageLoopingCommand extends PluginCommand {
357357
if (flutterConstraint != null &&
358358
!flutterConstraint.allows(minFlutterVersion)) {
359359
return PackageResult.skip(
360-
'Does not support Flutter ${minFlutterVersion.toString()}');
360+
'Does not support Flutter $minFlutterVersion');
361361
}
362362
}
363363

364364
if (minDartVersion != null) {
365365
final Pubspec pubspec = package.parsePubspec();
366366
final VersionConstraint? dartConstraint = pubspec.environment?['sdk'];
367367
if (dartConstraint != null && !dartConstraint.allows(minDartVersion)) {
368-
return PackageResult.skip(
369-
'Does not support Dart ${minDartVersion.toString()}');
368+
return PackageResult.skip('Does not support Dart $minDartVersion');
370369
}
371370
}
372371

0 commit comments

Comments
 (0)