forked from platformio/platformio-core
Skip async output when empty byte is given
This commit is contained in:
1 parent
0035f56e15
commit
f30bd18bdc
2 files changed
+6
-3
No files matched your search
+1
-1
@@ -66,7 +66,7 @@ class BuildAsyncPipe(AsyncPipeBase):
|
||||
for byte in iter(lambda: self._pipe_reader.read(1), ""):
|
||||
self._buffer += byte
|
||||
|
||||
if line and line[-3:] == (line[-1] * 3):
|
||||
if line and byte.strip() and line[-3:] == (byte * 3):
|
||||
print_immediately = True
|
||||
|
||||
if print_immediately:
|
||||
|
||||
Reference in new issue
Block a user