fix: help and errors name sharing.key and sharing.keyRules, not share.*
This commit is contained in:
9 files changed
+17
-17
No files matched your search
@@ -606,7 +606,7 @@ type lazysecretsFile struct {
|
||||
} `yaml:"sharing"`
|
||||
}
|
||||
|
||||
// ShareKey is the share.key of the repo's .lazysecrets.yaml, if any.
|
||||
// ShareKey is the sharing.key of the repo's .lazysecrets.yaml, if any.
|
||||
func ShareKey(root string) (string, error) {
|
||||
b, err := os.ReadFile(filepath.Join(root, ".lazysecrets.yaml"))
|
||||
if errors.Is(err, os.ErrNotExist) {
|
||||
|
||||
Reference in new issue
Block a user