Fix app cache check - apps are directories not files

This commit is contained in:
Dan Caseley 2020-07-21 17:00:15 +01:00 committed by GitHub
parent 19c129d4d7
commit ebcdc3eb5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ commands:
name: if cache exists exit
command: |
FILE=/Users/distiller/project/ios/build/Build/Products/Release-iphonesimulator/RocketChatRN.app
if test -f "$FILE"; then
if [ -e “$FILE” ]; then
echo "App restored from cache. Halting build."
circleci step halt
else