From 068214cbcb7be3afd950a1b062a620789ab65171 Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Wed, 3 Jul 2024 12:20:58 -0700 Subject: [PATCH] Disable warning about word splitting. Doing it on purpose --- .github/workflows/wait-for-as-server-to-start.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wait-for-as-server-to-start.bash b/.github/workflows/wait-for-as-server-to-start.bash index 2f695c9ea..576243fed 100755 --- a/.github/workflows/wait-for-as-server-to-start.bash +++ b/.github/workflows/wait-for-as-server-to-start.bash @@ -21,7 +21,8 @@ while true; do # But piping and passing stdin to grep will hide the first command's stdout. # grep doesn't have a way to print all lines passed as input. # ack does have an option but it doesn't come installed by default - if docker exec "$container_name" asinfo "$user_credentials" -v status | tee >(cat) | grep -qE "^ok"; then + # shellcheck disable=SC2086 # The flags in user credentials should be separate anyways. Not one string + if docker exec "$container_name" asinfo $user_credentials -v status | tee >(cat) | grep -qE "^ok"; then # Server is ready when asinfo returns ok break fi