From 323ce396379e3c099ec067384c6dd64584d62d5c Mon Sep 17 00:00:00 2001 From: Brian Le Date: Tue, 24 Dec 2024 21:57:25 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: grqx <173253225+grqx@users.noreply.github.com> --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a9736d..7443c87 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -139,8 +139,8 @@ jobs: po_token=$(echo "$pot_response" | jq -r '.po_token') visit_identifier=$(echo "$pot_response" | jq -r '.visit_identifier') - if [[ "$po_token" != "null" && "$visit_identifier" == "null" ]]; then - echo "Error: 'po_token' or 'visit_identifier' is null." + if [[ "$po_token" == "null" || "$visit_identifier" == "null" ]]; then + echo "::error title=PoToken generation failed,file=server/src/session_manager.ts::'po_token' or 'visit_identifier' is null." exit 1 fi