Skip to content

Commit

Permalink
[#35] .git folder is now ignored.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianquek committed Jan 12, 2016
1 parent 0e97159 commit c9bb9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/backend/Logic.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private void traverseDirectory(File folder,
ArrayList<String> fileTypes) {
if (folder.isFile()) {
scanFile(folder, getFileExtension(folder));
} else if (folder.isDirectory()) {
} else if (folder.isDirectory() && !folder.getName().equals(".git")) {
scanFilesInFolder(folder, willScanCurrentDirOnly, fileTypes);
}
}
Expand Down

0 comments on commit c9bb9a7

Please sign in to comment.