1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-05 18:30:57 +01:00

[CI] Use a list when reading idedata for includes (#7535)

This commit is contained in:
Keith Burzinski 2024-10-04 03:07:49 -05:00 committed by GitHub
parent 523eedbc51
commit 1cf4818640
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ def clang_options(idedata):
cmd.extend(["-isystem", directory])
# add library include directories using -isystem to suppress their errors
for directory in set(idedata["includes"]["build"]):
for directory in list(idedata["includes"]["build"]):
# skip our own directories, we add those later
if (
not directory.startswith(f"{root_path}/")