forked from firka/flutter
revert args to 0.13.6 (#6765)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -9,7 +9,12 @@ environment:
|
||||
|
||||
dependencies:
|
||||
archive: ^1.0.20
|
||||
args: ^0.13.4
|
||||
|
||||
# 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
|
||||
|
||||
coverage: ^0.8.0
|
||||
crypto: '>=1.1.1 <3.0.0'
|
||||
file: ^0.1.0
|
||||
|
||||
Reference in New Issue
Block a user