Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: lib/src/command.dart

Issue 2184303002: Make pub strong-mode clean. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/barback/web_socket_api.dart ('k') | lib/src/command/barback.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
}
« no previous file with comments | « lib/src/barback/web_socket_api.dart ('k') | lib/src/command/barback.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698