Permalink
Browse files

fixing directory crawling so it actually... crawls...

  • Loading branch information...
bglusman
bglusman committed Jan 25, 2012
1 parent 81b24d2 commit 2cdb10d9e3126e137b488d1bd583b4390c5bf9c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/outlaw/enforcement.rb
@@ -10,7 +10,7 @@ def add(law)
def process_directory(path)
Dir.foreach(path) do |entry|
next if entry == '.' or entry == '..'
if File.directory?(entry)
if File.directory?("#{path}/#{entry}")
# Dir.open(path + entry)
process_directory("#{path}/#{entry}")
else

0 comments on commit 2cdb10d

Please sign in to comment.