Filter libs with absolute paths

as the config system uses only abspaths
pull/9561/head
Jimmy Brisson 2019-01-16 13:32:52 -06:00
parent 4fbbac9acd
commit 5cf07df264
1 changed files with 1 additions and 1 deletions

View File

@ -1318,7 +1318,7 @@ class Config(object):
ref for ref in resources.get_file_refs(FileType.JSON)
if (
not ref.name.endswith(self.__mbed_lib_config_name)
or ref.path in all_json_paths
or abspath(ref.path) in all_json_paths
)
]
resources.filter_by_libraries(included_json_files)