Skip to content
Browse files

Don't process files that are non-existent. Resolves issue where bad s…

…ymlinks would kill roodi
  • Loading branch information...
1 parent 682e89d commit 37afd095d5cda4e67bfa902f2c9faa9b7e95ec4a @zdennis committed Apr 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/roodi/core/runner.rb
View
1 lib/roodi/core/runner.rb
@@ -31,6 +31,7 @@ def check_content(content, filename = "dummy-file.rb")
end
def check_file(filename)
+ return unless File.exists?(filename)
check(filename, File.read(filename))
end

0 comments on commit 37afd09

Please sign in to comment.
Something went wrong with that request. Please try again.