Skip to content
Myr

Fixed issue with passwords beginning with numbers.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by NuckChorris · committed by NuckChorris · parent 20e5d98 · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:lib/commander.js+1 added-2 removed
11/*!2 * commander3 * Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>4 * MIT Licensed
756 unmodified lines
761 process.stdout.write(str);762763 // keypress764 process.stdin.on('keypress', function(c, key){766 if ('enter' == key.name) {765 if (key && 'enter' == key.name) {766 console.log();767 process.stdin.removeAllListeners('keypress');768 tty.setRawMode(false);769 fn(buf);
117 unmodified lines