Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented Jun 24, 2017

DriveCommand() {
argParser.addFlag(
'keep-app-running',
defaultsTo: null,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the line required to fix the build; the rest is just the debugging logic i added to track down the problem.

Copy link
Contributor

@yjbanov yjbanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


process.exitCode.whenComplete(() {
print('\n'); // separate the output of this script from subsequent output to make logs easier to read
process.exitCode.then((int exitCode) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it matters for exitCode, but the difference between whenComplete and then is that whenComplete will also trigger if there's an error.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. exitCode won't ever fail though, and whenComplete doesn't give me the value.

@Hixie
Copy link
Contributor Author

Hixie commented Jun 24, 2017

Landing on red to fix breakage.

@Hixie Hixie merged commit d131a8d into flutter:master Jun 24, 2017
@Hixie Hixie deleted the build-failure branch June 24, 2017 01:09
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jul 1, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants