Commit e63f8b3f authored by David Dollar's avatar David Dollar

only try to store node_modules if it exists

parent c7aca18e
......@@ -43,6 +43,8 @@ else
fi
# repack cache with new assets
rm -rf $CACHE_STORE_DIR
mkdir -p $(dirname $CACHE_STORE_DIR)
cp -a $CACHE_TARGET_DIR $CACHE_STORE_DIR
if [ -d $CACHE_TARGET_DIR ]; then
rm -rf $CACHE_STORE_DIR
mkdir -p $(dirname $CACHE_STORE_DIR)
cp -a $CACHE_TARGET_DIR $CACHE_STORE_DIR
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment