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:
parent
0b0042cfcd
commit
96b9609e2b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue