bin/review in review-5.3.0 vs bin/review in review-5.4.0
- old
+ new
@@ -56,10 +56,10 @@
unless File.exist?(command_path)
print "cannot find command: #{command}\n\n"
usage
end
-if RUBY_PLATFORM =~ /mswin|bccwin|mingw/
+if RUBY_PLATFORM.match?(/mswin|bccwin|mingw/)
cmd = File.join(RbConfig::CONFIG['bindir'],
RbConfig::CONFIG['ruby_install_name'])
cmd << RbConfig::CONFIG['EXEEXT']
exec(cmd, command_path, *ARGV)
else