fix(rdb_idx): remove ignore of issues dir
This commit is contained in:
parent
70e9f756ea
commit
3769079074
2 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ func (r *indexRebuilder) readFiles(vault string) ([]*filehandling.File, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *indexRebuilder) IsValidDirectory(path string) bool {
|
func (r *indexRebuilder) IsValidDirectory(path string) bool {
|
||||||
ignoredDirs := []string{".git", ".templates", "temp", "issues"}
|
ignoredDirs := []string{".git", ".templates", "temp"}
|
||||||
for part := range strings.SplitSeq(path, string(filepath.Separator)) {
|
for part := range strings.SplitSeq(path, string(filepath.Separator)) {
|
||||||
if slices.Contains(ignoredDirs, part) {
|
if slices.Contains(ignoredDirs, part) {
|
||||||
return false
|
return false
|
||||||
|
|
|
||||||
BIN
dendrite
BIN
dendrite
Binary file not shown.
Loading…
Add table
Reference in a new issue