Index: utils/pub/pubspec.dart |
diff --git a/utils/pub/pubspec.dart b/utils/pub/pubspec.dart |
index de3f15577e27affa6ca5a65cf1bc77e89ef1259a..f7ac002eb297c9e6377c8e5185b0bc44d4f94652 100644 |
--- a/utils/pub/pubspec.dart |
+++ b/utils/pub/pubspec.dart |
@@ -54,7 +54,7 @@ class Pubspec { |
return pubspec; |
} on FormatException catch (ex) { |
- throw 'Could not parse $pubspecPath:\n${ex.message}'; |
+ throw new FormatException('Could not parse $pubspecPath:\n${ex.message}'); |
Bob Nystrom
2013/04/18 18:18:31
This should be a UserFacingException.
nweiz
2013/04/18 18:37:24
Done.
|
} |
} |