0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-31 06:02:16 +00:00

🔨 Fix CI Test clean step (2)

This commit is contained in:
Scott Lahteine 2022-12-04 15:35:45 -06:00
parent 76ed9b1c7c
commit 6d1d5e4e6a

View file

@ -6,7 +6,8 @@
def is_pio_build():
from SCons.Script import DefaultEnvironment
env = DefaultEnvironment()
return not env.IsIntegrationDump() and not env.IsCleanTarget()
if "IsCleanTarget" in dir(env) and env.IsCleanTarget(): return False
return not env.IsIntegrationDump()
def get_pio_version():
from platformio import util