Skip to content

Commit 5335faf

Browse files
committed
Pass only libraries to include_libaries
1 parent f45b53f commit 5335faf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/config/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,10 +1316,7 @@ def load_resources(self, resources):
13161316
]
13171317
included_json_files = [
13181318
ref for ref in resources.get_file_refs(FileType.JSON)
1319-
if (
1320-
not ref.name.endswith(self.__mbed_lib_config_name)
1321-
or abspath(ref.path) in all_json_paths
1322-
)
1319+
if abspath(ref.path) in all_json_paths
13231320
]
13241321
resources.filter_by_libraries(included_json_files)
13251322
if (hasattr(self.target, "release_versions") and

0 commit comments

Comments
 (0)