1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

⚠️ assigned but unused variable - err

This commit is contained in:
Akira Matsuda 2016-02-02 09:04:10 +09:00
parent 0b0042cfcd
commit 96b9609e2b

View file

@ -60,7 +60,7 @@ elsif File.exist?(code_or_file)
else else
begin begin
eval(code_or_file, binding, __FILE__, __LINE__) eval(code_or_file, binding, __FILE__, __LINE__)
rescue SyntaxError,NameError => err rescue SyntaxError, NameError
$stderr.puts "Please specify a valid ruby command or the path of a script to run." $stderr.puts "Please specify a valid ruby command or the path of a script to run."
$stderr.puts "Run '#{$0} -h' for help." $stderr.puts "Run '#{$0} -h' for help."
exit 1 exit 1