From 1f46f12f1456ccd302a5b2ec8a281c7c91fc8016 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Fri, 3 May 2024 18:36:12 +1000 Subject: [PATCH] undo --- shell-command.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell-command.sh b/shell-command.sh index c6388ba..3963a16 100755 --- a/shell-command.sh +++ b/shell-command.sh @@ -13,12 +13,13 @@ set -euo pipefail [ "${SCRIPT_DEBUG-}" = "1" ] && set -x -# URL endpoint to fetch the data from. -URL_ENDPOINT="${JOKE_URL_ENDPOINT:-https://official-joke-api.appspot.com/jokes/<>/random}" # Topic. topic="${1-}" +# URL endpoint to fetch the data from. +URL_ENDPOINT="${JOKE_URL_ENDPOINT:-https://official-joke-api.appspot.com/jokes/<>/random}" + # Flag to bypass the prompt to proceed. SHOULD_PROCEED="${SHOULD_PROCEED-}"