aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Ross2016-09-05 22:01:05 +0100
committerAlyssa Ross2016-09-05 22:01:05 +0100
commitba10ce70bd36cbdc05a574f2227093da0ab7f470 (patch)
treedcc70d567506eaa6ef7beeae35591f06d8f7fdd3
parentb90eba8ffd9549879bf4c911377d8d4cf9aa7b39 (diff)
downloadbrew-ba10ce70bd36cbdc05a574f2227093da0ab7f470.tar.bz2
More consistent style
-rw-r--r--Library/Homebrew/tab.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index d84c64329..cf15e4c7b 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -298,7 +298,7 @@ class Tab < OpenStruct
"time" => time,
"source_modified_time" => source_modified_time.to_i,
"HEAD" => self.HEAD,
- "alias_path" => alias_path && alias_path.to_s,
+ "alias_path" => (alias_path.to_s if alias_path),
"stdlib" => (stdlib.to_s if stdlib),
"compiler" => (compiler.to_s if compiler),
"source" => source