Skip to content

Commit 23825c7

Browse files
authored
style: do not use backticks (#5687)
1 parent d161485 commit 23825c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gh_retry.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ WORKFLOW="Build Test"
2121
GREP_ERROR_PATTERN='Test "http/interactsh.yaml" failed'
2222

2323
#Set fonts for Help.
24-
NORM=`tput sgr0`
25-
BOLD=`tput bold`
26-
REV=`tput smso`
24+
NORM=$(tput sgr0)
25+
BOLD=$(tput bold)
26+
REV=$(tput smso)
2727

2828
HELP()
2929
{
@@ -73,7 +73,7 @@ function print_bold() {
7373
function retry_failed_jobs() {
7474
print_bold "Checking failed workflows for branch $BRANCH before $BEFORE"
7575

76-
date=`date +%Y-%m-%d'T'%H:%M'Z' -d "$BEFORE"`
76+
date=$(date +%Y-%m-%d'T'%H:%M'Z' -d "$BEFORE")
7777

7878
workflowIds=$(gh run list --limit "$LIMIT" --json headBranch,status,name,conclusion,databaseId,updatedAt | jq -c '.[] |
7979
select ( .headBranch==$branch ) |

0 commit comments

Comments
 (0)