Other: Add vault editor CI tool

This commit is contained in:
James Houlahan
2022-10-26 10:11:25 +02:00
parent d376b88cf0
commit 784896434d
7 changed files with 127 additions and 6 deletions

View File

@ -30,7 +30,7 @@ import (
"golang.org/x/exp/slices"
)
func withVault(locations *locations.Locations, fn func(*vault.Vault, bool, bool) error) error {
func WithVault(locations *locations.Locations, fn func(*vault.Vault, bool, bool) error) error {
// Create the encVault.
encVault, insecure, corrupt, err := newVault(locations)
if err != nil {