Skip to content

Commit a1bd573

Browse files
committed
chore(cli): syntax improvements
1 parent d8a121a commit a1bd573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/generators/init-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default class InitGenerator extends Generator {
146146
.then((babelConfirmAnswer: {
147147
babelConfirm: boolean;
148148
}) => {
149-
if (babelConfirmAnswer.babelConfirm === true) {
149+
if (babelConfirmAnswer.babelConfirm) {
150150
this.configuration.config.webpackOptions.module.rules.push(
151151
getBabelPlugin(),
152152
);

0 commit comments

Comments
 (0)