exe/githelp in githelp-0.3.3 vs exe/githelp in githelp-0.3.4
- old
+ new
@@ -142,10 +142,10 @@
cmd = list[$1.to_i][1]
else
cmd = res.sub(/^\s*/,'')
end
print "「#{cmd.chomp}」 を実行しますか? "
- ans = gets
+ ans = STDIN.gets
if ans =~ /^y/i || ans == "\n"
system cmd
end
end
else