aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/unlinkapps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/unlinkapps.rb')
-rw-r--r--Library/Homebrew/cmd/unlinkapps.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/unlinkapps.rb b/Library/Homebrew/cmd/unlinkapps.rb
index ef11db602..2674b2854 100644
--- a/Library/Homebrew/cmd/unlinkapps.rb
+++ b/Library/Homebrew/cmd/unlinkapps.rb
@@ -1,5 +1,5 @@
# Unlinks any Applications (.app) found in installed prefixes from /Applications
-require 'keg'
+require "keg"
module Homebrew
def unlinkapps
@@ -23,7 +23,7 @@ module Homebrew
private
- def should_unlink? file
+ def should_unlink?(file)
if ARGV.named.empty?
file.match(HOMEBREW_CELLAR) || file.match("#{HOMEBREW_PREFIX}/opt")
else