From be889b6d6c3b919dc6a762c7cf0853b8d019cf55 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 21 Aug 2023 21:45:33 -0700 Subject: Add a forgotten default value for ignored_paths --- tool/sync_default_gems.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tool/sync_default_gems.rb') diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index ce6a6dd0ae..1f2e0ddf4d 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -572,15 +572,16 @@ module SyncDefaultGems elsif /^CONFLICT/ =~ result # Forcibly remove any files that we don't want to copy to this repository. # We also ignore them as new `toplevels` even when they don't conflict. + ignored_paths = [] case gem when "rubygems" # We don't copy any vcr_cassettes to this repository. Because the directory does not # exist, rename detection doesn't work. So it starts with the original path `bundler/`. - ignored_paths = %w[bundler/spec/support/artifice/vcr_cassettes] + ignored_paths += %w[bundler/spec/support/artifice/vcr_cassettes] when "yarp" # Rename detection never works between ruby/ruby/doc and ruby/yarp/docs # since ruby/ruby/doc is not something owned by YARP. - ignored_paths = %w[docs/] + ignored_paths += %w[docs/] end ignored_paths.each do |path| if File.exist?(path) -- cgit v1.2.3