Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions run-build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ install_dependencies() {
if [ -f package.json ]
then
restore_cwd_cache node_modules "node modules"
if [ -f yarn.lock ]
if [ "$NETLIFY_USE_YARN" = "true" ] || ([ "$NETLIFY_USE_YARN" != "false" ] && [ -f yarn.lock ])
then
run_yarn $YARN_VERSION
else
Expand All @@ -471,7 +471,7 @@ install_dependencies() {
then
if ! [ $(which bower) ]
then
if [ -f yarn.lock ]
if [ "$NETLIFY_USE_YARN" = "true" ] || ([ "$NETLIFY_USE_YARN" != "false" ] && [ -f yarn.lock ])
then
echo "Installing bower with Yarn"
yarn add bower
Expand Down