mirror of https://github.com/nodejs/node.git
tools: add missing tick processor polyfill
The polyfill is only needed if incorrect command line arguments are passed to the script so it was missed in initial testing. PR-URL: https://github.com/nodejs/node/pull/2694 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>pull/2694/merge
parent
fed0b28754
commit
40ec84d0fe
|
@ -47,6 +47,7 @@ function read(fileName) {
|
|||
return fs.readFileSync(fileName, 'utf8');
|
||||
}
|
||||
arguments = process.argv.slice(2);
|
||||
var quit = process.exit;
|
||||
|
||||
// Polyfill "readline()".
|
||||
var fd = fs.openSync(arguments[arguments.length - 1], 'r');
|
||||
|
|
Loading…
Reference in New Issue