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
This commit is contained in:
parent
3a33f50843
commit
c499cb1399
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user