Skip to content

Commit c01a80b

Browse files
committedJun 4, 2019
chore: keep lowercase
1 parent 20ff530 commit c01a80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/generators/add-generator.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export default class AddGenerator extends Generator {
308308
.pop()
309309
.replace(".js", "")
310310
)
311-
.find((p: string): boolean => p.indexOf(answeredPluginName) >= 0);
311+
.find((p: string): boolean => p.toLowerCase().indexOf(answeredPluginName) >= 0);
312312

313313
if (pluginExist) {
314314
this.configuration.config.item = pluginExist;

0 commit comments

Comments
 (0)
Please sign in to comment.