Skip to content

Commit

Permalink
fix(create): Use correct variable name in generated CLI output (#2547)
Browse files Browse the repository at this point in the history
  • Loading branch information
paleite committed May 24, 2020
1 parent 7ffb297 commit a1fd622
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -67,7 +67,7 @@ index SHA..SHA
@@ -0,0 +1,26 @@
+'use strict';
+
+const yargs = require('yargs/yargs');
+const factory = require('yargs/yargs');
+const myCli = require('./my-cli');
+
+module.exports = cli;
Expand Down
2 changes: 1 addition & 1 deletion commands/create/index.js
Expand Up @@ -450,7 +450,7 @@ class CreateCommand extends Command {
: dedent`
'use strict';
const yargs = require('yargs/yargs');
const factory = require('yargs/yargs');
const ${this.camelName} = require('./${this.dirName}');
module.exports = cli;
Expand Down

0 comments on commit a1fd622

Please sign in to comment.