From be264f4a657c65f364490388e0c1d7a0119b42d1 Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 29 Jan 2018 17:05:41 +0000 Subject: Suport ruby 1.9.3 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/vcs.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool/vcs.rb') diff --git a/tool/vcs.rb b/tool/vcs.rb index 9df3b38302..5697a1b1e4 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -91,10 +91,10 @@ else end using DebugPOpen module DebugSystem - def system(*args, exception: true, **opts) + def system(*args, **opts) STDERR.puts [*args, **opts].inspect if $DEBUG if RUBY_VERSION >= "2.6" - opts[:exception] = exception + opts[:exception] = true unless opts.key?(:exception) end ret = super(*args, **opts) raise "Command failed with status (#$?): #{args[0]}" if exception and !ret -- cgit v1.2.3