diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-05-29 18:40:03 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-05-29 18:40:03 -0700 |
commit | f0ded366933407cfd0ad2c516b69d2766d1634d2 (patch) | |
tree | 72cf909e0bfbc73c350e7aa0b5eafc430353be6a /tool | |
parent | d2ba80b5df7118383cbcfae934316310c6d81633 (diff) | |
download | ruby-f0ded366933407cfd0ad2c516b69d2766d1634d2.tar.gz |
Use Regexp#match instead of #match for 1.9 BASERUBY support
Diffstat (limited to 'tool')
-rw-r--r-- | tool/vcs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb index 808b28344e..f7a1a6470d 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -507,7 +507,7 @@ class VCS end rev unless rev.empty? end - unless /./.match?(from ||= branch_beginning(url)) + unless /./.match(from ||= branch_beginning(url)) raise "cannot find the beginning revision of the branch" end range = [from, (to || 'HEAD')].join('^..') |