summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-08-15 10:00:54 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-08-16 17:47:32 -0700
commit3873b1eb39a2070937dc62ac47f8b96df54a72fc (patch)
tree42d174abb24a5addef2e854882191dec48f27229 /tool/sync_default_gems.rb
parent957cd369fa38915241e0b66e852f66ac516de664 (diff)
Resync YARP
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8226
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-xtool/sync_default_gems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index f0f091e1c5..8f2f3b5df0 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -627,7 +627,7 @@ module SyncDefaultGems
puts "Remove files added to toplevel: #{toplevels.join(', ')}"
system(*%w"git rm -r --", *toplevels)
end
- tools = changed.select {|f|f.start_with?("test/lib/", "tool/")}
+ tools = changed.select {|f|f.start_with?("test/fixtures/", "test/lib/", "tool/")}
unless tools.empty?
system(*%W"git rm -r --", *tools)
system(*%W"git checkout HEAD~ --", *tools)