diff --git a/samples/build-single.sh b/samples/build-single.sh index 3f8ca18e..9198562c 100644 --- a/samples/build-single.sh +++ b/samples/build-single.sh @@ -26,7 +26,7 @@ if [[ $? -eq 0 ]]; then echo "Found 'callback'. Please replace with a more modern pattern for loading Maps JS." exit 1 fi -grep +grep "${html_script_src_grep_options[@]}" if [[ $? -eq 0 ]]; then grep "${html_script_src_grep_options[@]}" | grep "loading=async" if [[ $? -ne 0 ]]; then