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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb
index 0f0677dec..04aade4f7 100644
--- a/Library/Homebrew/patch.rb
+++ b/Library/Homebrew/patch.rb
@@ -29,7 +29,7 @@ class Patch
case list
when Hash
list
- when Array, String, IO, StringIO
+ when Array, String, IO
{ :p1 => list }
else
{}
@@ -37,7 +37,7 @@ class Patch
urls = [urls] unless Array === urls
urls.each do |url|
case url
- when IO, StringIO
+ when IO
patch = IOPatch.new(url, strip)
else
patch = LegacyPatch.new(strip, url)