Skip to content

Commit

Permalink
yarnConfigHook: fix darwin permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Dec 26, 2024
1 parent defcdc8 commit 2e86b37
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/build-support/node/fetch-yarn-deps/yarn-config-hook.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
yarnConfigHook(){
yarnConfigHook() {
echo "Executing yarnConfigHook"

# Use a constant HOME directory
mkdir -p /tmp/home
export HOME=/tmp/home
export HOME=$(mktemp -d)
if [[ -n "$yarnOfflineCache" ]]; then
offlineCache="$yarnOfflineCache"
fi
Expand Down

0 comments on commit 2e86b37

Please sign in to comment.