yarnInstallHook: fix temporary directory location (#342608)

This commit is contained in:
Doron Behar
2024-09-18 09:00:01 +03:00
committed by GitHub

View File

@@ -17,7 +17,7 @@ yarnInstallHook() {
--offline --offline
) )
local -r tmpDir="$(mktemp -d yarnInstallHook.XXXXXX)" local -r tmpDir="$(mktemp -d)"
# yarn pack does not work at all with bundleDependencies. # yarn pack does not work at all with bundleDependencies.
# Since we are imediately unpacking, we can just remove them from package.json # Since we are imediately unpacking, we can just remove them from package.json