From c258f5ca7dae5383ba09b59a5efde95e2bd711af Mon Sep 17 00:00:00 2001 From: Nick Cooper Date: Mon, 14 Jun 2021 13:46:15 -0400 Subject: [PATCH] Fix space handling in JSON example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f4401bf..bf806d5c 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Consider using one of the other formats if that's the case. format: 'json' - run: | readarray -t removed_files <<<"$(jq -r '.[]' <<<'${{ steps.files.outputs.removed }}')" - for removed_file in ${removed_files[@]}; do + for removed_file in "${removed_files[@]}"; do echo "Do something with this ${removed_file}." done ```