mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Use original 'returncode' from exec command
This commit is contained in:
@@ -384,8 +384,8 @@ class BasePlatform(object):
|
|||||||
raise exception.SConsNotInstalled()
|
raise exception.SConsNotInstalled()
|
||||||
|
|
||||||
assert "returncode" in result
|
assert "returncode" in result
|
||||||
if self._found_error:
|
# if self._found_error:
|
||||||
result['returncode'] = 1
|
# result['returncode'] = 1
|
||||||
|
|
||||||
if self._last_echo_line == ".":
|
if self._last_echo_line == ".":
|
||||||
click.echo("")
|
click.echo("")
|
||||||
|
Reference in New Issue
Block a user