From 23825c77b2869dd3dce9f15f4d4b4bde3ec2c63a Mon Sep 17 00:00:00 2001 From: Piotr Idzik <65706193+vil02@users.noreply.github.com> Date: Fri, 4 Oct 2024 23:07:07 +0200 Subject: [PATCH] style: do not use backticks (#5687) --- gh_retry.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gh_retry.sh b/gh_retry.sh index bf212e129..43542276b 100755 --- a/gh_retry.sh +++ b/gh_retry.sh @@ -21,9 +21,9 @@ WORKFLOW="Build Test" GREP_ERROR_PATTERN='Test "http/interactsh.yaml" failed' #Set fonts for Help. -NORM=`tput sgr0` -BOLD=`tput bold` -REV=`tput smso` +NORM=$(tput sgr0) +BOLD=$(tput bold) +REV=$(tput smso) HELP() { @@ -73,7 +73,7 @@ function print_bold() { function retry_failed_jobs() { print_bold "Checking failed workflows for branch $BRANCH before $BEFORE" - date=`date +%Y-%m-%d'T'%H:%M'Z' -d "$BEFORE"` + date=$(date +%Y-%m-%d'T'%H:%M'Z' -d "$BEFORE") workflowIds=$(gh run list --limit "$LIMIT" --json headBranch,status,name,conclusion,databaseId,updatedAt | jq -c '.[] | select ( .headBranch==$branch ) |