Skip to content
Myr

Merge pull request #73 from node-migrator-bot/clean

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

Hi! I fixed some code for you!

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parents cc966f6, 2aac48f · Browse files · 1 file+2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:lib/commander.js+2 added-2 removed
866 unmodified lines
867 mask = '';868 }869870 process.stdin.resume();871 tty.setRawMode(true);871 process.stdin.setRawMode(true);872 process.stdout.write(str);873874 // keypress875 process.stdin.on('keypress', function(c, key){876 if (key && 'enter' == key.name) {877 console.log();878 process.stdin.removeAllListeners('keypress');879 tty.setRawMode(false);879 process.stdin.setRawMode(false);880 if (!buf.trim().length) return self.password(str, mask, fn);881 fn(buf);882 return;883 }
148 unmodified lines