Skip to content

Conversation

@jakemac53
Copy link
Contributor

@jakemac53 jakemac53 commented Jun 21, 2016

Fixes issue #109

@jakemac53 jakemac53 added the bug label Jun 21, 2016
@jakemac53 jakemac53 changed the title Fix #109, convert packages paths to absolute paths in file watcher Convert packages paths to absolute paths in file watcher Jun 21, 2016
var changePath = e.path;

// Convert `packages` paths to absolute paths.
() {
Copy link
Member

Choose a reason for hiding this comment

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

Why this lambda thingy here? Feels weird...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I just used that to encapsulate all the local variables so I didn't have to worry about using somewhat generic names. Really though I should have just broken this out into a helper method or something, I will do that instead.

Copy link
Member

Choose a reason for hiding this comment

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

Sweet

@kevmoo
Copy link
Member

kevmoo commented Jun 21, 2016

One question inline.

LGTM

...you ran dartfmt, right?

@jakemac53 jakemac53 merged commit b2f0f21 into master Jun 21, 2016
@davidmorgan
Copy link
Contributor

Nice, thanks!

@jakemac53 jakemac53 deleted the fix-109 branch June 22, 2016 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants