lib/makit/directory.rb in makit-0.0.0 vs lib/makit/directory.rb in makit-0.0.1

- old
+ new

@@ -20,10 +20,10 @@ end def self.find_directory_with_patterns(starting_directory, patterns) patterns.each do |pattern| result = find_directory_with_pattern(starting_directory, pattern) - if(Dir.exist?(result)) + if (Dir.exist?(result)) return result end end nil