mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-23 13:48:08 -05:00
Swapping == with <, just in case.
This commit is contained in:
@@ -78,13 +78,13 @@
|
||||
return _results;
|
||||
};
|
||||
process.on('uncaughtException', error);
|
||||
if (readline.createInterface.length === 3) {
|
||||
repl = readline.createInterface(stdin, stdout, autocomplete);
|
||||
} else {
|
||||
if (readline.createInterface.length < 2) {
|
||||
repl = readline.createInterface(stdin, autocomplete);
|
||||
stdin.on('data', function(buffer) {
|
||||
return repl.write(buffer);
|
||||
});
|
||||
} else {
|
||||
repl = readline.createInterface(stdin, stdout, autocomplete);
|
||||
}
|
||||
repl.setPrompt('coffee> ');
|
||||
repl.on('close', function() {
|
||||
|
||||
Reference in New Issue
Block a user