diff options
| author | Markus Reiter | 2017-06-01 16:06:51 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-06-02 19:22:05 +0200 |
| commit | 2d6ae61314558b383cfa641e2de0839d5606afca (patch) | |
| tree | 0da240a31c9dc147fc7998bd6fedd578aa022222 /Library/Homebrew/cask | |
| parent | 0731a68cde75206682ed972beb47930afa3c434e (diff) | |
| download | brew-2d6ae61314558b383cfa641e2de0839d5606afca.tar.bz2 | |
Re-revert "Fix operator spacing."
Diffstat (limited to 'Library/Homebrew/cask')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/download_strategy.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb index ceb202bb7..cd2679782 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb @@ -43,7 +43,7 @@ module Hbc if checkpoint.nil? onoe "Could not retrieve `appcast` checkpoint for cask '#{cask}': #{result[:command_result].stderr}" else - puts((cask_tokens.count > 1) ? "#{checkpoint} #{cask}": checkpoint) + puts((cask_tokens.count > 1) ? "#{checkpoint} #{cask}" : checkpoint) count += 1 end end diff --git a/Library/Homebrew/cask/lib/hbc/download_strategy.rb b/Library/Homebrew/cask/lib/hbc/download_strategy.rb index 4bc38e3f6..5b32b4840 100644 --- a/Library/Homebrew/cask/lib/hbc/download_strategy.rb +++ b/Library/Homebrew/cask/lib/hbc/download_strategy.rb @@ -216,7 +216,7 @@ module Hbc end def repo_valid? - @clone.join(".svn").directory? + (@clone/".svn").directory? end def repo_url |
