Index: utils/pub/root_source.dart |
diff --git a/utils/pub/root_source.dart b/utils/pub/root_source.dart |
index 7fc9784fe0f67d1fc04d70b0e3165a37115c591a..ebab17ef3e2c0c9ce31754dc14bf51e026c42e0b 100644 |
--- a/utils/pub/root_source.dart |
+++ b/utils/pub/root_source.dart |
@@ -26,7 +26,6 @@ class RootSource extends Source { |
} |
Future<bool> install(PackageId id, String destPath) { |
- throw new UnsupportedOperationException( |
- "Can't install from a root source."); |
+ throw new UnsupportedError("Can't install from a root source."); |
} |
} |