summaryrefslogtreecommitdiff
path: root/lib/puppet/provider/vcsrepo/git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/provider/vcsrepo/git.rb')
-rw-r--r--lib/puppet/provider/vcsrepo/git.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/puppet/provider/vcsrepo/git.rb b/lib/puppet/provider/vcsrepo/git.rb
index 298d1dc..7290387 100644
--- a/lib/puppet/provider/vcsrepo/git.rb
+++ b/lib/puppet/provider/vcsrepo/git.rb
@@ -42,8 +42,6 @@ Puppet::Type.type(:vcsrepo).provide(:git) do
private
def clone_repository(source, path)
- parent = File.dirname(path)
- FileUtils.mkdir_p(parent)
git('clone', source, path)
end