Index: lib/src/command.dart |
diff --git a/lib/src/command.dart b/lib/src/command.dart |
index f201b4ed7930e9acd0526a4d16547f1935404a27..d19f9000146a048213d4142eea2dfcc07aeeb55a 100644 |
--- a/lib/src/command.dart |
+++ b/lib/src/command.dart |
@@ -84,6 +84,7 @@ abstract class PubCommand extends Command { |
return int.parse(intString); |
} on FormatException catch (_) { |
usageException('Could not parse $name "$intString".'); |
+ return null; |
} |
} |
} |