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 committed Dec 16, 2022
1 parent 3c550e0 commit 686ce0c
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 686ce0c

Please sign in to comment.