summary refs log tree commit
diff options
context:
space:
mode:
authorMichael Fellinger <m.fellinger@gmail.com>2009-07-25 23:22:11 +0900
committerMichael Fellinger <m.fellinger@gmail.com>2009-07-25 23:22:11 +0900
commit1785a44d3a97cb38b4b197b5cb66bd86093bf438 (patch)
treee4dff4f45155cebd5670dc7892d616da796385fb
parent4e53cc767057fd7d425f99e26b9f5131804096ef (diff)
downloadrack-1785a44d3a97cb38b4b197b5cb66bd86093bf438.tar.gz
Fixing return value of figure_path when nothing was found
-rw-r--r--lib/rack/reloader.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rack/reloader.rb b/lib/rack/reloader.rb
index 3b962c4a..a06de23a 100644
--- a/lib/rack/reloader.rb
+++ b/lib/rack/reloader.rb
@@ -93,6 +93,8 @@ module Rack
           found, stat = safe_stat(path)
           return ::File.expand_path(found), stat if found
         end
+
+        return false, false
       end
 
       def safe_stat(file)