mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Add .git folder to ignore folders list
closes #6140 - simply added '.git' to the list of folder names to ignore when checking for valid themes.
This commit is contained in:
parent
84c8149f6a
commit
6956985c28
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