Skip to content

Commit

Permalink
Skip maestro if SENTRY_AUTH_TOKEN is unavailable or empty (#4288)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonis authored Nov 19, 2024
1 parent 37ab937 commit 77680ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-packages/e2e-tests/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ if (actions.includes('test')) {
execFileSync('adb', ['install', '-r', '-d', testApp]);
}

if (sentryAuthToken === undefined) {
console.log('Skipping maestro test due to unavailable SENTRY_AUTH_TOKEN');
if (!sentryAuthToken) {
console.log('Skipping maestro test due to unavailable or empty SENTRY_AUTH_TOKEN');
} else {
execSync(
`maestro test maestro \
Expand Down

0 comments on commit 77680ec

Please sign in to comment.