Skip to content

Commit

Permalink
🔨 Fix CI Test clean step (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and SMHRambo committed Feb 7, 2023
1 parent b8598e2 commit 3ca771b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildroot/share/PlatformIO/scripts/pioutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ca771b

Please sign in to comment.