mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 21:54:33 +02:00
idf.py: Fix IOError that costs CI failure
This commit is contained in:
@@ -214,7 +214,7 @@ class RunTool:
|
|||||||
output_file.write(output)
|
output_file.write(output)
|
||||||
|
|
||||||
# print output in progression way but only the progression related (that started with '[') and if verbose flag is not set
|
# print output in progression way but only the progression related (that started with '[') and if verbose flag is not set
|
||||||
if self.force_progression and output[0] == '[' and '-v' not in self.args:
|
if self.force_progression and output[0] == '[' and '-v' not in self.args and output_stream.isatty():
|
||||||
print_progression(output)
|
print_progression(output)
|
||||||
else:
|
else:
|
||||||
print(output, end='', file=output_stream)
|
print(output, end='', file=output_stream)
|
||||||
|
Reference in New Issue
Block a user