Commit c499cb13 authored by lelgenio's avatar lelgenio
Browse files

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
parent 3a33f508
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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