Refactor flutter command exit code - part 3 of 3 (#6838)

* Remove the workaround that pinned args to v0.13.6
This reverts most of the changes in commit 6331b6c8b5
* throw exception if exit code is not an integer
* rework command infrastructure to throw ToolExit when non-zero exitCode
* convert commands to return Future<Null>
* cleanup remaining commands to use throwToolExit for non-zero exit code
* remove isUnusual exception message
* add type annotations for updated args package
This commit is contained in:
Dan Rubel
2016-11-14 14:21:30 -05:00
committed by GitHub
parent ece851d5cd
commit 34e466f1fd
63 changed files with 167 additions and 348 deletions

View File

@@ -2,12 +2,6 @@ name: complex_layout
description: A new flutter project.
dependencies:
# version 0.13.6+1 does not return the value from the command
# causing flutter tools to always have exit code 0
# see https://github.com/flutter/flutter/issues/6766
args: 0.13.6
flutter:
sdk: flutter
flutter_driver: