提交 f115334c 编写于 作者: J Justin Collins

Remove duplicate check for @line in Warning

上级 bd1d9250
......@@ -32,7 +32,7 @@ class Brakeman::Warning
if not @line
if @user_input and @user_input.respond_to? :line
@line = @user_input.line
elsif @code and not @line and @code.respond_to? :line
elsif @code and @code.respond_to? :line
@line = @code.line
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册