Pass only libraries to include_libaries

pull/9561/head
Jimmy Brisson 2019-01-31 11:04:47 -06:00
parent f45b53fd47
commit 5335faf6c2
1 changed files with 1 additions and 4 deletions

View File

@ -1316,10 +1316,7 @@ class Config(object):
]
included_json_files = [
ref for ref in resources.get_file_refs(FileType.JSON)
if (
not ref.name.endswith(self.__mbed_lib_config_name)
or abspath(ref.path) in all_json_paths
)
if abspath(ref.path) in all_json_paths
]
resources.filter_by_libraries(included_json_files)
if (hasattr(self.target, "release_versions") and