Skip to content

Commit 8a0d8a6

Browse files
authored
Merge pull request #381 from abarretta/mkrooseveltFix
mkroosevelt fix for issue #70
2 parents 1453501 + 3ba3d54 commit 8a0d8a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generators/app/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ module.exports = class extends Generator {
1212
// if this is executed like `yo roosevelt --standard-install custom-app-name`, cache that name so it can override appName later
1313
if (opts.standardInstall && typeof opts.standardInstall === 'string') {
1414
cache.standardInstall = opts.standardInstall
15+
} else if (args[0] === '--standard-install') {
16+
// if mkroosevelt is being used, type of installation in args[0] and the project name will be in args[1]
17+
cache.standardInstall = args[1]
1518
}
1619

1720
this.option('standard-install', {

0 commit comments

Comments
 (0)