We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51279ee commit 0528d9eCopy full SHA for 0528d9e
1 file changed
src/index.js
@@ -112,21 +112,22 @@ module.exports = async function emberCliUpdate({
112
);
113
packageName = downloadedPackage.name;
114
}
115
- let blueprintName;
+
116
+ let blueprintName = packageName;
117
118
if (blueprintArgs.blueprintName !== blueprintArgs.packageName) {
119
blueprintName = blueprintArgs.blueprintName;
- } else {
- blueprintName = packageName;
120
121
122
let existingBlueprint = findBlueprint(
123
emberCliUpdateJson,
124
packageName,
125
blueprintName
126
127
- if (existingBlueprint) {
128
- blueprint = existingBlueprint;
129
+ blueprint = existingBlueprint;
130
+ if (!existingBlueprint) {
131
blueprint = loadSafeBlueprint({
132
133
name: blueprintName,
0 commit comments