mirror of https://github.com/lapce/lapce.git
handle_stderr should return
This commit is contained in:
parent
c2b7df99d9
commit
36c6c7d12f
|
@ -848,7 +848,9 @@ fn handle_stderr(&self, stderr: ChildStderr, language_id: String) {
|
|||
|
||||
loop {
|
||||
buffer.clear();
|
||||
let _result = reader.read_line(&mut buffer);
|
||||
if reader.read_line(&mut buffer).is_err() {
|
||||
return;
|
||||
}
|
||||
if buffer.trim().is_empty() {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue