Skip to content

Commit 693a40f

Browse files
authored
fix typo: readme example references variables that don't exist (#1342)
1 parent 9c7cfc0 commit 693a40f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@ program
376376
.version('0.1.0')
377377
.arguments('<cmd> [env]')
378378
.action(function (cmd, env) {
379-
console.log('command:', cmdValue);
380-
console.log('environment:', envValue || 'no environment given');
379+
console.log('command:', cmd);
380+
console.log('environment:', env || 'no environment given');
381381
});
382382
383383
program.parse(process.argv);

0 commit comments

Comments
 (0)