1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 07:42:26 +01:00

try another way

This commit is contained in:
J. Nick Koston
2025-07-14 08:45:33 -10:00
parent aeb56cc3d0
commit 96d39403f4

View File

@@ -121,6 +121,8 @@ def clang_options(idedata):
) )
) )
or (directory.startswith(f"{root_path}") and "/.pio/" in directory) or (directory.startswith(f"{root_path}") and "/.pio/" in directory)
or "/.platformio/"
in directory # Also treat any .platformio directory as system
): ):
cmd.extend(["-isystem", directory]) cmd.extend(["-isystem", directory])