yarnInstallHook: fix temporary directory location (#342608)

This commit is contained in:
Doron Behar 2024-09-18 09:00:01 +03:00 committed by GitHub
commit e1bd0a9c37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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