revert args to 0.13.6 (#6765)

This commit is contained in:
Dan Rubel
2016-11-08 17:15:11 -05:00
committed by GitHub
parent b9bff6a912
commit 6331b6c8b5
17 changed files with 97 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ Future<Null> main(List<String> args) async {
Doctor.initGlobal();
dynamic result = await runner.run(args);
_exit(result is int ? result : 0);
_exit(result is int ? result : 1);
}, onError: (dynamic error, Chain chain) {
if (error is UsageException) {
stderr.writeln(error.message);