Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 30b8a07

Browse files
author
Andy Earnshaw
committed
TRAVIS_PULL_REQUEST is always set, so check not 'false'
1 parent 772ced3 commit 30b8a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/saucelabs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ function main(tunnelReady) {
447447
drawStatus();
448448

449449
// Avoid "The Travis CI build failed" message on PRs
450-
if (process.env.TRAVIS_PULL_REQUEST) {
450+
if (process.env.TRAVIS_PULL_REQUEST && process.env.TRAVIS_PULL_REQUEST !== 'false') {
451451
console.warn('Unable to run Sauce Labs tests for pull requests.');
452452
process.exit(0);
453453
}

0 commit comments

Comments
 (0)