Skip to content

Commit

Permalink
Merge pull request #40 from oluceps/fix-SC2043
Browse files Browse the repository at this point in the history
fix: SC2043 shell check error
  • Loading branch information
oddlama authored Sep 7, 2024
2 parents 126b4a5 + 55e0529 commit 10ea05a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nix/lib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,14 @@
# For master identies with no explicit pubkey, try extracting a pubkey from the file first.
# Collect final identity arguments for encryption in an array.
masterIdentityArgs=()
# shellcheck disable=SC2041
for file in ${
masterIdentityArray=(${
concatStringsSep " "
(map
(x: "${escapeShellArg x.identity}")
(x: ''"${escapeShellArg x.identity}"'')
(filter (x: x.pubkey == null) mergedMasterIdentities))
}; do
})
# shellcheck disable=SC2041
for file in "''${masterIdentityArray[@]}"; do
# Keep track if a file was processed.
file_processed=false
Expand Down

0 comments on commit 10ea05a

Please sign in to comment.