mirror of https://github.com/lukechilds/node.git
Browse Source
Previously, we detected options object based on amount of arguments supplied. But if we're calling readline without new operator, constructor gets re-called and will always have 4 arguments. PR-URL: https://github.com/iojs/io.js/pull/1385 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>v1.8.0-commit
Alex Kocharin
10 years ago
committed by
Ben Noordhuis
2 changed files with 16 additions and 1 deletions
Loading…
Reference in new issue