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

Commit eb3b47b

Browse files
authored
fix(yarn): make yarn install use the correct .yarn_cache path (#595)
1 parent 6c366b9 commit eb3b47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-build-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ run_yarn() {
146146
# This removes the flag from the end of the string.
147147
yarn_local="${yarn_local%--cache-folder *}"
148148

149-
if yarn install --cache-folder $NETLIFY_BUILD_BASE/.yarn_cache ${yarn_local:+"$yarn_local"}
149+
if yarn install --cache-folder $HOME/.yarn_cache ${yarn_local:+"$yarn_local"}
150150
then
151151
echo "NPM modules installed using Yarn"
152152
else

0 commit comments

Comments
 (0)