Skip to content

Commit

Permalink
fix typo: readme example references variables that don't exist (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliasbhal committed Sep 3, 2020
1 parent 9c7cfc0 commit 693a40f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Expand Up @@ -376,8 +376,8 @@ program
.version('0.1.0')
.arguments('<cmd> [env]')
.action(function (cmd, env) {
console.log('command:', cmdValue);
console.log('environment:', envValue || 'no environment given');
console.log('command:', cmd);
console.log('environment:', env || 'no environment given');
});
program.parse(process.argv);
Expand Down

0 comments on commit 693a40f

Please sign in to comment.