From c2ffdc9b22656d2544bcf21164ec910aa7093616 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 25 May 2021 09:03:39 +0530 Subject: Fixing 'unary operator' issue in travis script for non-PR branches. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index aefeedfc7..5435d9b90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -94,7 +94,7 @@ script: git push -qu source HEAD:$TRAVIS_BRANCH --no-verify >/dev/null 2>&1 fi travis_retry travis_wait 100 npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies || travis_terminate 1 - elif [ $TRAVIS_PULL_REQUEST_BRANCH != "i18n" ]; then + elif [ "$TRAVIS_PULL_REQUEST_BRANCH" != "i18n" ]; then travis_retry travis_wait 100 npm run build || travis_terminate 1 fi fi -- cgit v1.2.3-54-g00ecf