Index: utils/pub/root_source.dart |
diff --git a/utils/pub/root_source.dart b/utils/pub/root_source.dart |
index 7fc9784fe0f67d1fc04d70b0e3165a37115c591a..58b5374b1f3451c87254f6f682de77e5897cd5fe 100644 |
--- a/utils/pub/root_source.dart |
+++ b/utils/pub/root_source.dart |
@@ -26,7 +26,7 @@ class RootSource extends Source { |
} |
Future<bool> install(PackageId id, String destPath) { |
- throw new UnsupportedOperationException( |
+ throw new StateError( |
floitsch
2012/10/23 12:50:32
one line.
Lasse Reichstein Nielsen
2012/10/24 12:32:15
Done.
|
"Can't install from a root source."); |
} |
} |