diff options
Diffstat (limited to 'lib/rainbows/dev_fd_response.rb')
-rw-r--r-- | lib/rainbows/dev_fd_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/dev_fd_response.rb b/lib/rainbows/dev_fd_response.rb index d839803..637bcc2 100644 --- a/lib/rainbows/dev_fd_response.rb +++ b/lib/rainbows/dev_fd_response.rb @@ -70,7 +70,7 @@ class Rainbows::DevFdResponse < Struct.new(:app) end # remain Rack::Lint-compatible for people with wonky systems :P - unless File.exist?("/dev/fd/0") + unless File.directory?("/dev/fd") alias to_path_orig to_path undef_method :to_path end |