ignore chromediver cache, even if it exists

This commit is contained in:
spalger 2019-02-17 16:35:57 -08:00
parent 561b795295
commit f4b1dd8a36

View file

@ -104,13 +104,13 @@ yarnGlobalDir="$(yarn global bin)"
export PATH="$PATH:$yarnGlobalDir"
hash -r
###
### use the chromedriver cache if it exists
###
if [ -x "$dir/.chromedriver/master/chromedriver" ]; then
export CHROMEDRIVER_FILEPATH="$dir/.chromedriver/master/chromedriver"
export CHROMEDRIVER_SKIP_DOWNLOAD=true
fi
# ###
# ### use the chromedriver cache if it exists
# ###
# if [ -x "$dir/.chromedriver/master/chromedriver" ]; then
# export CHROMEDRIVER_FILEPATH="$dir/.chromedriver/master/chromedriver"
# export CHROMEDRIVER_SKIP_DOWNLOAD=true
# fi
###
### install dependencies