Skip to content

Commit 94b3c71

Browse files
author
Kelly Selden
committed
allow init to go through git and get conflicts
instead of acting like reset with just a copy
1 parent 75f3b97 commit 94b3c71

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/init.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,15 @@ module.exports = async function init({
9292
blueprint
9393
});
9494

95-
let init = false;
96-
9795
if (!baseBlueprint) {
9896
// for non-existing default blueprints
9997
blueprint.isBaseBlueprint = true;
100-
init = true;
10198
}
10299

103100
let result = await (await boilerplateUpdate({
104101
endVersion: blueprint.version,
105102
resolveConflicts,
106103
reset,
107-
init,
108104
createCustomDiff: true,
109105
customDiffOptions: ({
110106
packageJson
@@ -122,7 +118,7 @@ module.exports = async function init({
122118
blueprint
123119
});
124120

125-
if (!(reset || init)) {
121+
if (!reset) {
126122
await stageBlueprintFile({
127123
cwd,
128124
emberCliUpdateJsonPath

0 commit comments

Comments
 (0)