forked from platformio/platformio-core
Ensure that the `monitor` target is not executed if any of the preceding targets encounter failures
This commit is contained in:
1 parent
390755c499
commit
0fe6bf262e
2 files changed
+2
-1
No files matched your search
@@ -207,7 +207,7 @@ def process_env(
|
||||
verbose,
|
||||
).process()
|
||||
|
||||
if "monitor" in targets and "nobuild" not in targets:
|
||||
if result["succeeded"] and "monitor" in targets and "nobuild" not in targets:
|
||||
ctx.invoke(
|
||||
device_monitor_cmd,
|
||||
port=monitor_port,
|
||||
|
||||
Reference in new issue
Block a user