Skip to content

Commit

Permalink
sc warning disable
Browse files Browse the repository at this point in the history
  • Loading branch information
angelhof committed Jun 1, 2023
1 parent cece488 commit 050198e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ elif [[ "$daemon_response" == *"UNSAFE:"* ]]; then
## KK 2023-06-01 Does `eval` work in general? We need to be precise
## about which commands are unsafe to determine how to execute them.
cmd=$(cat "$PASH_SPEC_NODE_DIRECTORY/$pash_speculative_command_id")
## KK 2023-06-01 Not sure if this shellcheck warning must be resolved:
## > note: Double quote to prevent globbing and word splitting.
# shellcheck disable=SC2086
eval $cmd
cmd_exit_code=$?
elif [ -z "$daemon_response" ]; then
Expand Down

0 comments on commit 050198e

Please sign in to comment.