Skip to content

Commit 0115f54

Browse files
committed
Minor correction for fatal exits
1 parent 49292d1 commit 0115f54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def configure_default_packages(self, variables, targets):
165165
else:
166166
sys.stderr.write(
167167
"Error! Unknown build.core value '%s'. Don't know which Arduino core package to use." % build_core)
168-
env.Exit(1)
168+
sys.exit(-1)
169169
else:
170170
# this is a pico-sdk or baremetal project. if it's for a rp2350-riscv, we need the RISC-V toolchain.
171171
if chip == "rp2350-riscv":

0 commit comments

Comments
 (0)