Skip to content

Commit

Permalink
fix: Fix Cannot create property'help' on string'example' babel#25
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyan committed Dec 14, 2021
1 parent eeb5718 commit 711af8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module.exports = class extends Generator {
'@babel/core': '^7.10.5',
'@babel/plugin-transform-runtime': '^7.10.5',
'@babel/preset-env': '^7.10.4',
'jest': '^26.1.0'
'jest': '^26.1.0'
},
scripts: {
'clean': 'rm -rf lib',
Expand Down Expand Up @@ -134,7 +134,7 @@ module.exports = class extends Generator {
}

default() {
this.composeWith(require.resolve('../fixture/'), { arguments: 'example' });
this.composeWith(require.resolve('../fixture/'), { arguments: ['example'] });
}

install() {
Expand Down

0 comments on commit 711af8e

Please sign in to comment.