Skip to content

Commit

Permalink
test(extension): e2e - return proper exit code on error for encrypt/d…
Browse files Browse the repository at this point in the history
…ecrypt scripts
  • Loading branch information
ljagiela committed Jun 2, 2023
1 parent d93b12c commit 0f68f0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/e2e-tests/decrypt_secret.sh
Expand Up @@ -6,7 +6,7 @@ DECRYPTED_FILE="$FILE_LOCATION/walletConfiguration.ts"

if [ -z "${WALLET_1_PASSWORD}" ]; then
echo "WALLET_1_PASSWORD environment variable is not set, aborting"
exit
exit 1
fi

# Decrypt the file
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/encrypt_secret.sh
Expand Up @@ -5,7 +5,7 @@ DECRYPTED_FILE="$FILE_LOCATION/walletConfiguration.ts"

if [ -z "${WALLET_1_PASSWORD}" ]; then
echo "WALLET_1_PASSWORD environment variable is not set, aborting"
exit
exit 1
fi

gpg --symmetric --cipher-algo AES256 --batch --passphrase "$WALLET_1_PASSWORD" $DECRYPTED_FILE

0 comments on commit 0f68f0d

Please sign in to comment.