Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke super with the valid args to avoid ENOENT #115

Merged
merged 3 commits into from
Nov 8, 2017

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Nov 7, 2017

Calling super with only the relativePath meant that broccoli-persistent-filter's implementation of getDestinationPath (which calls isDirectory) could not properly no-op when the file has been removed.

Fixes ember-cli/ember-cli#7347

@rwjblue rwjblue requested a review from Turbo87 November 7, 2017 20:30
Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

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

This seems good independent from fixing the issue or not...

@Turbo87 Turbo87 added the bug label Nov 7, 2017
@rwjblue
Copy link
Member Author

rwjblue commented Nov 7, 2017

I'm working on creating a failing test to reproduce the reported issue (before the fix) and confirming the fix corrects it.

@rwjblue
Copy link
Member Author

rwjblue commented Nov 8, 2017

Failing tests added and submitted as a separate PR so folks could review the CI run in #118. This PR was then rebased on top of that to show that the issue is properly being fixed.

@rwjblue rwjblue merged commit 3201cf7 into master Nov 8, 2017
@rwjblue rwjblue deleted the avoid-enoent-on-removal branch November 8, 2017 03:55
@Turbo87
Copy link
Member

Turbo87 commented Nov 8, 2017

🎉

@eventualbuddha
Copy link

Thanks!!

@hjdivad
Copy link

hjdivad commented Nov 13, 2017

@rwjblue any objection to backporting this to 3.x for the sake of ember-cli users pre 2.14?

@rwjblue
Copy link
Member Author

rwjblue commented Nov 13, 2017

Seems good to me!

hjdivad added a commit that referenced this pull request Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants