aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/patch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/patch.rb')
-rw-r--r--Library/Homebrew/patch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb
index 9adb1ffee..a2e735c42 100644
--- a/Library/Homebrew/patch.rb
+++ b/Library/Homebrew/patch.rb
@@ -130,7 +130,7 @@ class ExternalPatch
patch_dir = Pathname.pwd
if patch_files.empty?
children = patch_dir.children
- if (children.length == 1 && children.first.file?)
+ if children.length == 1 && children.first.file?
patch_files << children.first.basename
else
raise MissingApplyError, <<-EOS.undent