mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Merge pull request #6155 from StevenMcD/issue_6140
Add .git folder to ignore folders list
This commit is contained in:
commit
9f4c6957de
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ function readDirectory(dir, options) {
|
|||
}
|
||||
|
||||
ignore = options.ignore || [];
|
||||
ignore.push('node_modules', 'bower_components', '.DS_Store');
|
||||
ignore.push('node_modules', 'bower_components', '.DS_Store', '.git');
|
||||
|
||||
return readDir(dir)
|
||||
.filter(function (filename) {
|
||||
|
|
Loading…
Add table
Reference in a new issue