Skip to content

Commit c499cb1

Browse files
committed
yarnInstallHook: fix temporary directory location
Currently the directory is being created in $src/yarnInstallHook.XXXXXX Giving the directory a readable name is not particularly useful
1 parent 3a33f50 commit c499cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/build-support/node/fetch-yarn-deps/yarn-install-hook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ yarnInstallHook() {
1717
--offline
1818
)
1919

20-
local -r tmpDir="$(mktemp -d yarnInstallHook.XXXXXX)"
20+
local -r tmpDir="$(mktemp -d)"
2121

2222
# yarn pack does not work at all with bundleDependencies.
2323
# Since we are imediately unpacking, we can just remove them from package.json

0 commit comments

Comments
 (0)