0
Fork 0
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:
Hannah Wolfe 2015-12-02 12:07:25 +08:00
commit 9f4c6957de

View file

@ -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) {