Index: utils/pub/pub.dart |
diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart |
index 1c7830b9535c010d1963e53b2252cc7b2fc5b629..1c05c45b977acf5a48f87bc588ea6d9741b4a09c 100644 |
--- a/utils/pub/pub.dart |
+++ b/utils/pub/pub.dart |
@@ -137,8 +137,7 @@ main() { |
return; |
} |
- var commandArgs = |
- globalOptions.rest.getRange(1, globalOptions.rest.length - 1); |
+ var commandArgs = globalOptions.rest.sublist(1); |
command.run(cache, globalOptions, commandArgs); |
}); |
} |