Skip to content

Commit d7b4444

Browse files
Don't apply the same patch multiple times
1 parent 8be5074 commit d7b4444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/ruby_wasm/cli.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def self.build_source_aliases(root)
266266
source[:patches] = patches_dirs.flat_map do |patches_dir|
267267
Dir[File.join(patches_dir, name, "*.patch")]
268268
.map { |p| File.expand_path(p) }
269-
end
269+
end.uniq
270270
end
271271

272272
build_manifest = File.join(root, "build_manifest.json")

0 commit comments

Comments
 (0)