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:
@@ -1,11 +1,5 @@
|
||||
name: flutter_automated_tests
|
||||
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_test:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
name: microbenchmarks
|
||||
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_test:
|
||||
|
||||
@@ -8,12 +8,7 @@ environment:
|
||||
sdk: '>=1.12.0 <2.0.0'
|
||||
|
||||
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
|
||||
|
||||
args: ^0.13.4
|
||||
meta: ^1.0.3
|
||||
path: ^1.3.0
|
||||
stack_trace: ^1.4.0
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
name: flutter_manual_tests
|
||||
|
||||
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
|
||||
|
||||
|
||||
@@ -2,10 +2,5 @@ name: dev_tools
|
||||
description: Various repository development tools for flutter.
|
||||
|
||||
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
|
||||
|
||||
args: ^0.13.4
|
||||
path: ^1.3.0
|
||||
|
||||
Reference in New Issue
Block a user