aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-23 14:44:14 +0200
committerMarkus Reiter2016-10-23 14:44:14 +0200
commit8d15bddedb2f5796193f79a9a97cd6271367e251 (patch)
tree4a32d9a51582ab6e9f9d3c02439de2e1373231bd /Library/Homebrew/cask/lib/hbc/cli
parent827b48912ab0a2d36ca7b29d8bd5849b360c9c6c (diff)
downloadbrew-8d15bddedb2f5796193f79a9a97cd6271367e251.tar.bz2
Auto-correct block delimiters.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/cleanup.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/cleanup.rb b/Library/Homebrew/cask/lib/hbc/cli/cleanup.rb
index e65ee422d..2273280b9 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/cleanup.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/cleanup.rb
@@ -76,9 +76,9 @@ module Hbc
else
start_withs = tokens.map { |token| "#{token}--" }
- cache_files.select { |path|
+ cache_files.select do |path|
path.basename.to_s.start_with?(*start_withs)
- }
+ end
end
delete_paths(deletable_cache_files)