Index: utils/pub/yaml/model.dart |
diff --git a/utils/pub/yaml/model.dart b/utils/pub/yaml/model.dart |
index f709536fa79d0bfc2e536bbc2ee3efbdd66f3345..f9dd00551442adb1005dec174a5f218620baf5a9 100644 |
--- a/utils/pub/yaml/model.dart |
+++ b/utils/pub/yaml/model.dart |
@@ -146,7 +146,7 @@ class _ScalarNode extends _Node { |
// 20 is the maximum value for this argument, which we use since YAML |
// doesn't specify a maximum. |
return value.toStringAsExponential(20). |
- replaceFirst(new RegExp("0+e"), "e"); |
+ replaceFirst(const RegExp("0+e"), "e"); |
} |
if (value is String) { |