Skip to content

Commit

Permalink
Disable warning about word splitting. Doing it on purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Jul 3, 2024
1 parent ca98cd9 commit 068214c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/wait-for-as-server-to-start.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 068214c

Please sign in to comment.