Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Fix some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Feb 6, 2018
1 parent 4b8ce5a commit 0bfa77b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions run-build-functions.sh
Expand Up @@ -310,8 +310,8 @@ install_dependencies() {
then
if [ -d $NETLIFY_CACHE_DIR/node_modules ]
then
rm -rf $NETLIFY_REPO_DIR/node_modules
mv $NETLIFY_CACHE_DIR/node_modules $NETLIFY_REPO_DIR/node_modules
rm -rf $NETLIFY_REPO_DIR/node_modules
mv $NETLIFY_CACHE_DIR/node_modules $NETLIFY_REPO_DIR/node_modules
fi

if [ -f yarn.lock ]
Expand All @@ -333,15 +333,15 @@ install_dependencies() {
if [ -d $NETLIFY_CACHE_DIR/bower_components ]
then
rm -rf $NETLIFY_REPO_DIR/bower_components
mv $NETLIFY_CACHE_DIR/bower_components $NETLIFY_REPO_DIR/bower_components
fi
mv $NETLIFY_CACHE_DIR/bower_components $NETLIFY_REPO_DIR/bower_components
fi

echo "Installing bower components"
echo "Installing bower components"
if bower install --config.interactive=false
then
echo "Bower components installed"
else
echo "Error installing bower components"
echo "Error installing bower components"
exit 1
fi
fi
Expand Down

0 comments on commit 0bfa77b

Please sign in to comment.