Skip to content

Conversation

@elwayman02
Copy link
Contributor

This change allows ember-cli/glimmer to be specified as either a dependency
or devDependency of the project being updated. Currently, ember-cli-update
throws an error in some instances, since it is only checking devDependencies.

This change allows ember-cli/glimmer to be specified as either a dependency
or devDependency of the project being updated. Currently, `ember-cli-update`
throws an error in some instances, since it is only checking devDependencies.

if (devDependencies) {
let isGlimmer = devDependencies['@glimmer/blueprint'];
if (dependencies || devDependencies) {
Copy link
Member

Choose a reason for hiding this comment

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

I think the Object.assign eliminated the need for this conditional.

Copy link
Member

@kellyselden kellyselden left a comment

Choose a reason for hiding this comment

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

One tweak then good to merge!

@kellyselden kellyselden merged commit ac1026e into ember-cli:master Mar 11, 2019
@elwayman02 elwayman02 deleted the support-dependency-detection branch March 12, 2019 20:44
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.

2 participants