Skip to content

Commit

Permalink
chore: keep lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed Jun 4, 2019
1 parent 20ff530 commit c01a80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generators/add-generator.ts
Expand Up @@ -308,7 +308,7 @@ export default class AddGenerator extends Generator {
.pop()
.replace(".js", "")
)
.find((p: string): boolean => p.indexOf(answeredPluginName) >= 0);
.find((p: string): boolean => p.toLowerCase().indexOf(answeredPluginName) >= 0);

if (pluginExist) {
this.configuration.config.item = pluginExist;
Expand Down

0 comments on commit c01a80b

Please sign in to comment.