diff options
Diffstat (limited to 'Library/Homebrew/os/mac.rb')
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index d3e5cb38c..15c301f99 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -104,7 +104,7 @@ module OS      # Returns the path to an SDK or nil, following the rules set by #sdk.      def sdk_path(v = nil)        s = sdk(v) -      s.path unless s.nil? +      s&.path      end      # See these issues for some history: | 
