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

Ensure forEmber _always_ uses the project. #53

Merged
merged 2 commits into from
Apr 27, 2018
Merged

Ensure forEmber _always_ uses the project. #53

merged 2 commits into from
Apr 27, 2018

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 27, 2018

Fixes significant issues when linking...

module.exports = function(input) {
if (input.project) {
return input.project;
} else if (input.root && typeof input.isEmberCLIProject === 'function') {
Copy link
Member Author

Choose a reason for hiding this comment

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

FWIW, I decided to use the presence of this function as a way to confirm we were given the project directly because I can easily imagine a future refactor in ember-cli that would only setup bowerDirectory if a bower.json was detected...

@rwjblue rwjblue merged commit 724bc58 into master Apr 27, 2018
@rwjblue rwjblue deleted the fix-for-ember branch April 27, 2018 17:48
@rwjblue rwjblue added the bug label Jan 7, 2019
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

2 participants