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

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