Skip to content

Commit 298f0bb

Browse files
committed
Revert "Fix reading secrets when path is both a leaf and a subpath"
This reverts commit 85291ed.
1 parent 68dd081 commit 298f0bb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/export.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ func accumulate(acc *[]string, v vault.Vault, basep string, accump string) {
103103
return
104104
}
105105
for _, k := range res {
106-
if !strings.HasSuffix(k, "/") {
107-
*acc = append(*acc, path.Join(basep, k))
108-
continue
109-
}
110106
accumulate(acc, v, path.Join(basep, k), path.Join(accump, k))
111107
}
112108
}

0 commit comments

Comments
 (0)