Skip to content

Commit 5cf07df

Browse files
author
Jimmy Brisson
committed
Filter libs with absolute paths
as the config system uses only abspaths
1 parent 4fbbac9 commit 5cf07df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ def load_resources(self, resources):
13181318
ref for ref in resources.get_file_refs(FileType.JSON)
13191319
if (
13201320
not ref.name.endswith(self.__mbed_lib_config_name)
1321-
or ref.path in all_json_paths
1321+
or abspath(ref.path) in all_json_paths
13221322
)
13231323
]
13241324
resources.filter_by_libraries(included_json_files)

0 commit comments

Comments
 (0)