Skip to content

Conversation

@tvolkert
Copy link
Contributor

…ctories

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

bool packageExists;
bool packageExists = packageDirectory.existsSync();

if (!packageExists) {
Copy link
Member

Choose a reason for hiding this comment

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

Why not inline the check and since you're bailing out here, just assume packageExists == true in the code below?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

packageExists is mutable and changed lower down

@tvolkert tvolkert merged commit 747e25e into flutter:master Jun 15, 2017
@tvolkert tvolkert deleted the devfs branch June 15, 2017 17:29
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.

4 participants