diff options
| author | Markus Reiter | 2016-10-23 14:44:14 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-10-23 14:44:14 +0200 |
| commit | 8d15bddedb2f5796193f79a9a97cd6271367e251 (patch) | |
| tree | 4a32d9a51582ab6e9f9d3c02439de2e1373231bd /Library/Homebrew/cask/lib/hbc/cli | |
| parent | 827b48912ab0a2d36ca7b29d8bd5849b360c9c6c (diff) | |
| download | brew-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.rb | 4 |
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) |
