Skip to content

Commit

Permalink
chore(cli): syntax improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvdutt committed Nov 5, 2018
1 parent d8a121a commit a1bd573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generators/init-generator.ts
Expand Up @@ -146,7 +146,7 @@ export default class InitGenerator extends Generator {
.then((babelConfirmAnswer: {
babelConfirm: boolean;
}) => {
if (babelConfirmAnswer.babelConfirm === true) {
if (babelConfirmAnswer.babelConfirm) {
this.configuration.config.webpackOptions.module.rules.push(
getBabelPlugin(),
);
Expand Down

0 comments on commit a1bd573

Please sign in to comment.