Skip to content

Commit

Permalink
Revert "Fix reading secrets when path is both a leaf and a subpath"
Browse files Browse the repository at this point in the history
This reverts commit 85291ed.
  • Loading branch information
adamdecaf committed Mar 20, 2020
1 parent 68dd081 commit 298f0bb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ func accumulate(acc *[]string, v vault.Vault, basep string, accump string) {
return
}
for _, k := range res {
if !strings.HasSuffix(k, "/") {
*acc = append(*acc, path.Join(basep, k))
continue
}
accumulate(acc, v, path.Join(basep, k), path.Join(accump, k))
}
}

0 comments on commit 298f0bb

Please sign in to comment.