kopia lustrzana https://github.com/c9/core
Remove warning
rodzic
c1e2162db8
commit
1e1f5b3208
|
@ -493,8 +493,8 @@ define(function(require, exports, module) {
|
||||||
predictStartY = session.terminal.y + session.terminal.ybase;
|
predictStartY = session.terminal.y + session.terminal.ybase;
|
||||||
state = STATE_PREDICT;
|
state = STATE_PREDICT;
|
||||||
if (!checkTextBeforePrediction()) {
|
if (!checkTextBeforePrediction()) {
|
||||||
errorHandler.reportError(new Error("Warning: unable to init predictions"));
|
// Appears to happen when tmux or shell unexpectedly sends a new line
|
||||||
if (DEBUG) debugger;
|
console.warn("Unable to init predictions");
|
||||||
state = STATE_WAIT_FOR_ECHO;
|
state = STATE_WAIT_FOR_ECHO;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue