Permalink
Browse files

Fixing return value of figure_path when nothing was found

  • Loading branch information...
1 parent 4e53cc7 commit 1785a44d3a97cb38b4b197b5cb66bd86093bf438 @manveru manveru committed Jul 25, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/rack/reloader.rb
View
2 lib/rack/reloader.rb
@@ -93,6 +93,8 @@ def figure_path(file, paths)
found, stat = safe_stat(path)
return ::File.expand_path(found), stat if found
end
+
+ return false, false
end
def safe_stat(file)

0 comments on commit 1785a44

Please sign in to comment.