Skip to content
Snippets Groups Projects
Commit 8183f75d authored by Dominyk Tiller's avatar Dominyk Tiller
Browse files

config: split conditional


Stops Rubocop moaning about one line conditionals.

Closes Homebrew/homebrew#47537.

Signed-off-by: default avatarDominyk Tiller <dominyktiller@gmail.com>
parent c7c9919d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment