Skip to content

Commit 686ce0c

Browse files
committed
🔨 Fix CI Test clean step (2)
1 parent 3c550e0 commit 686ce0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildroot/share/PlatformIO/scripts/pioutil.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
def is_pio_build():
77
from SCons.Script import DefaultEnvironment
88
env = DefaultEnvironment()
9-
return not env.IsIntegrationDump() and not env.IsCleanTarget()
9+
if "IsCleanTarget" in dir(env) and env.IsCleanTarget(): return False
10+
return not env.IsIntegrationDump()
1011

1112
def get_pio_version():
1213
from platformio import util

0 commit comments

Comments
 (0)