Skip to content

Commit 0e19980

Browse files
committed
Revert "test"
This reverts commit 71bae0e.
1 parent 28f2803 commit 0e19980

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/common.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,8 @@ sops_check() {
576576

577577
# Write PGP fingerprints to SOPS config
578578
sops_config_write_fingerprints() {
579-
cat "$(which yq)"
580-
exit 1
579+
yq -n ".creation_rules[0].pgp = \"${1}\"" >"${sops_config}" ||
580+
(log_error "ERROR: Failed to write fingerprints" && rm "${sops_config}" && exit 1)
581581
}
582582

583583
# Encrypt stdin to file. If the file already exists it's overwritten.

0 commit comments

Comments
 (0)