mirror of
https://github.com/esphome/esphome.git
synced 2025-09-11 15:52:20 +01:00
@@ -121,8 +121,6 @@ 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])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user