Ignore .git directory in Gridarta plugin scripts

master
Andreas Kirschbaum 2021-07-25 11:39:41 +02:00
parent 32128f1751
commit a1821b148b
2 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,7 @@ while (it.hasNext()) {
&& !name.equals(".emergency")
&& !name.equals("ChangeLog")
&& !name.equals("COPYING")
&& !path.contains("/.git/")
&& !path.contains("/Info/")
&& !path.contains("/editor/scripts/")) {
normalizeMap(file, file.getPath().substring(mapDefaultFolder.length()));

View File

@ -118,6 +118,7 @@ try {
&& !name.equals("ChangeLog")
&& !name.equals("COPYING")
&& !name.equals("TODO")
&& !path.contains("/.git/")
&& !path.contains("/Info/")
&& !path.contains("/editor/scripts/")) {
checkMap(file, file.getPath().substring(mapDefaultFolder.length()));