Skip to content

Commit 7f7716c

Browse files
update pioutil.py
1 parent 4cb89e3 commit 7f7716c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buildroot/share/PlatformIO/scripts/pioutil.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
# Make sure 'vscode init' is not the current command
88
def is_pio_build():
9-
if "IsCleanTarget" in dir(env) and env.IsCleanTarget(): return False
9+
if "IsCleanTarget" in dir(env):
10+
if env.IsCleanTarget():
11+
return False
1012
return not env.IsIntegrationDump()
1113

1214
def get_pio_version():

0 commit comments

Comments
 (0)