repl: remove redundant check of rli.rine.length

It get's set to '' 1 line above, so we know that that's always 0.
pull/24503/head
Nathan Rajlich 2012-03-12 17:58:45 -07:00 committed by Bert Belder
parent b7ddd30181
commit 6b5a34cdf3
1 changed files with 1 additions and 2 deletions

View File

@ -149,8 +149,7 @@ function REPLServer(prompt, stream, eval, useGlobal, ignoreUndefined) {
rli.line = ''; rli.line = '';
if (!(self.bufferedCommand && self.bufferedCommand.length > 0) && if (!(self.bufferedCommand && self.bufferedCommand.length > 0)) {
rli.line.length === 0) {
rli.output.write('(^C again to quit)\n'); rli.output.write('(^C again to quit)\n');
sawSIGINT = true; sawSIGINT = true;
} }