From d9b005e9ae1968110a0de54e7768d39d2a74f1ef Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Wed, 2 Oct 2024 19:11:18 +0500 Subject: [PATCH] perf: added comments against test code --- .github/workflows/push-docker-images.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-docker-images.yaml b/.github/workflows/push-docker-images.yaml index b70fd68..ee196ae 100644 --- a/.github/workflows/push-docker-images.yaml +++ b/.github/workflows/push-docker-images.yaml @@ -24,7 +24,7 @@ jobs: uses: actions/github-script@v5 with: script: | - const tag = ${{github.event.inputs.branch}} ? ${{github.event.inputs.branch}} : 'latest' + const tagName = "${{ github.event.inputs.branch }}" || 'latest'; console.log('Will use tag: ' + tagName); return tagName; result-encoding: string