Skip to content

Commit

Permalink
🔨 Fix CI Test clean step
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Dec 4, 2022
1 parent 5c3d87a commit 4d03c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildroot/share/PlatformIO/scripts/pioutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def is_pio_build():
from SCons.Script import DefaultEnvironment
env = DefaultEnvironment()
return not env.IsIntegrationDump()
return not env.IsIntegrationDump() and not env.IsCleanTarget()

def get_pio_version():
from platformio import util
Expand Down

1 comment on commit 4d03c25

@ellensp
Copy link
Contributor

@ellensp ellensp commented on 4d03c25 Dec 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Causes AttributeError: 'SConsEnvironment' object has no attribute 'IsCleanTarget': on every single attempt to build

Please sign in to comment.