Permalink
Browse files

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

[lib] 0.8 migration upkeep.
  • Loading branch information...
2 parents da626b5 + 9d19992 commit 0e721f6a5ea1a0fc2f70c97b0bec9c341fc7de98 Paolo Fragomeni committed Jul 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cdir.js
View
2 cdir.js
@@ -649,7 +649,7 @@ module.exports = function dir (obj, options) {
};
function raw (mode) {
- var setRawMode = stdin.setRawMode || tty.setRawMode;
+ var setRawMode = stdin.setRawMode || process.stdin.setRawMode;
setRawMode.call(stdin, mode);
}

0 comments on commit 0e721f6

Please sign in to comment.