Skip to content

Commit 93d067a

Browse files
committed
Always ignore .git
At least PMT used to do this. By leaving this out, I accidentally released a module with my .git directory. In this case it wasn't a huge issue, but outside of the size impact, it can be a security issue.
1 parent 96b81c0 commit 93d067a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/puppet/modulebuilder/builder.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module Puppet::Modulebuilder
66
# Class to build Puppet Modules from source
77
class Builder
88
DEFAULT_IGNORED = [
9+
'/.git',
910
'/pkg/',
1011
'~*',
1112
'/coverage',

0 commit comments

Comments
 (0)