Skip to content

Commit

Permalink
Fixed if statement to detect directory not file
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-nguyen committed Jun 17, 2018
1 parent c29d0ee commit 3878757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cache:

before_install:
- cd $TRAVIS_BUILD_DIR/client
- if [ ! -f "node_modules" ]; then npm install; fi
- if [ ! -d "node_modules" ]; then npm install; fi
- go get -u github.com/mattn/goveralls
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- cd $TRAVIS_BUILD_DIR/server
Expand Down

0 comments on commit 3878757

Please sign in to comment.