summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-08-17 10:27:32 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-08-17 10:27:33 -0700
commit818998b41b41a4f2f4120b0a0b6a92e4009ee5ba (patch)
treea2e398e446361a783f2955131ea64921e17fab08 /tool/sync_default_gems.rb
parentf50e814dae946d49dd798976262ff60bd2797fbd (diff)
Refactor YARP_IGNORE_FILE_PATTERN
`.git.*` covers those two cases. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-xtool/sync_default_gems.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 17865b8afb..dfe9d4ee00 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -444,9 +444,7 @@ module SyncDefaultGems
YARP_IGNORE_FILE_PATTERN =
/\A(?:[A-Z]\w*\.(?:md|txt)
|[^\/]+\.yml
- |\.gitignore
|\.git.*
- |\.github\/.*
|[A-Z]\w+file
|COPYING
|CONTRIBUTING\.md