Skip to content

Commit

Permalink
Use Regexp#match instead of #match for 1.9 BASERUBY support
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed May 30, 2019
1 parent d2ba80b commit f0ded36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/vcs.rb
Expand Up @@ -507,7 +507,7 @@ def export_changelog(url, from, to, path)
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('^..')
Expand Down

0 comments on commit f0ded36

Please sign in to comment.