Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: grqx <[email protected]>
  • Loading branch information
Brainicism and grqx authored Dec 25, 2024
1 parent 880382c commit 323ce39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 323ce39

Please sign in to comment.