lib/ridley/chef/chefignore.rb in ridley-1.4.0 vs lib/ridley/chef/chefignore.rb in ridley-1.4.1
- old
+ new
@@ -24,10 +24,11 @@
super(ignore, base: path)
end
private
+
# Find the chefignore file in the current directory
#
# @return [String, nil]
# the path to the chefignore file or nil if one was not
# found
@@ -42,9 +43,9 @@
].each do |possible|
return possible.expand_path.to_s if possible.exist?
end
end
- return nil
+ nil
end
end
end