Skip to content

Commit ac16599

Browse files
GaryB432ospatil
authored andcommitted
add else (#37)
1 parent 55f70e5 commit ac16599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generators/app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ module.exports = Generator.extend({
124124
this.templatePath('travis_mocha.yml'),
125125
this.destinationPath('.travis.yml')
126126
);
127-
} if (this.options.ava) { // copy ava files
127+
} else if (this.options.ava) { // copy ava files
128128
this.fs.copyTpl(
129129
this.templatePath('_package_ava.json'),
130130
this.destinationPath('package.json'),

0 commit comments

Comments
 (0)