Skip to content

Commit 31b6ac6

Browse files
Merge pull request #876 from pattern-lab/fix/875-edition-install
fix(install): add break statements to install edition command
2 parents 4ff2015 + 3b1813c commit 31b6ac6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/cli/bin/install-edition.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const installEdition = (edition, config) =>
2929
path.resolve('./node_modules', edition, 'gulpfile.js'),
3030
path.resolve(sourceDir, '../', 'gulpfile.js')
3131
);
32+
break;
3233
}
3334
case '@pattern-lab/edition-node': {
3435
const scriptsJSON = {
@@ -40,6 +41,7 @@ const installEdition = (edition, config) =>
4041
};
4142
pkg.scripts = Object.assign({}, pkg.scripts || {}, scriptsJSON);
4243
yield writeJsonAsync('./package.json', pkg, { spaces: 2 });
44+
break;
4345
}
4446
}
4547
return config;

0 commit comments

Comments
 (0)