Skip to content

Commit 7f0e1c8

Browse files
committed
fix(gen): fix flow regex
1 parent fd99da8 commit 7f0e1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generators/app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ export class Generator extends Base {
475475
return true;
476476
} else {
477477
// strip `// @flow` comments if not using flow
478-
return !(/@flow)/.test(commentContents));
478+
return !(/@flow/.test(commentContents));
479479
}
480480
},
481481
babelrc: false // don't grab the generator's `.babelrc`

0 commit comments

Comments
 (0)