We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f9f5a commit d9f8f0fCopy full SHA for d9f8f0f
lib/puppet/provider/vcsrepo/git.rb
@@ -535,7 +535,7 @@ def tags
535
def set_excludes
536
# Excludes may be an Array or a String.
537
at_path do
538
- File.open(File.join(@resource.value(:path), '.git/info/exclude'), 'w') do |f|
+ File.open('.git/info/exclude', 'w') do |f|
539
if @resource.value(:excludes).respond_to?(:each)
540
@resource.value(:excludes).each { |ex| f.puts ex }
541
else
0 commit comments