Skip to content

Commit

Permalink
test: Fix apps tests.sh bash syntax (skip empty tokens)
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Sep 13, 2023
1 parent 03b43e8 commit 9fbbdbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/apps/frenet/scripts/tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [ -z ${FRENET_TOKEN+x} ]; then
if [ -z "$FRENET_TOKEN" ]; then
echo -e "FRENET_TOKEN not set\n"
else
node --test tests/
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/mercadopago/scripts/tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [ -z ${MERCADOPAGO_TOKEN+x} ]; then
if [ -z "$MERCADOPAGO_TOKEN" ]; then
echo -e "MERCADOPAGO_TOKEN not set\n"
else
node --test tests/
Expand Down

0 comments on commit 9fbbdbb

Please sign in to comment.