Skip to content

Commit 8bec690

Browse files
author
Karim Alweheshy
committed
Remove duplicated srcs
1 parent d91c628 commit 8bec690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swiftpkg/internal/clang_files.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def _collect_files(
250250

251251
modulemap = None
252252
modulemap_orig_path = None
253-
for orig_path in all_srcs:
253+
for orig_path in depset(all_srcs).to_list():
254254
path = _relativize(orig_path, relative_to)
255255
_root, ext = paths.split_extension(path)
256256
if lists.contains(_HEADER_EXTS, ext):

0 commit comments

Comments
 (0)