config: split conditional
Stops Rubocop moaning about one line conditionals. Closes Homebrew/homebrew#47537. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
c7c9919d3a
commit
8183f75dda
@ -60,7 +60,11 @@ module Homebrew
|
||||
def describe_path(path)
|
||||
return "N/A" if path.nil?
|
||||
realpath = path.realpath
|
||||
if realpath == path then path else "#{path} => #{realpath}" end
|
||||
if realpath == path
|
||||
path
|
||||
else
|
||||
"#{path} => #{realpath}"
|
||||
end
|
||||
end
|
||||
|
||||
def describe_x11
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user