Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
install: windows: temporary directory was being duplicated incorrectl…
Browse files Browse the repository at this point in the history
…y resulting in hang

Fixes: #8685

PR-URL: #8777
  • Loading branch information
euprogramador authored and iarna committed Jul 1, 2015
1 parent c689d55 commit 0030ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cache/add-remote-git.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function resolveHead (from, cloneURL, treeish, cachedRemote, cb) {
log.verbose('resolveHead', from, 'resolved Git URL:', resolvedURL)

// generate a unique filename
var tmpdir = path.join(npm.tmp, tempFilename('git-cache'), resolvedTreeish)
var tmpdir = path.join(tempFilename('git-cache'), resolvedTreeish)
log.silly('resolveHead', 'Git working directory:', tmpdir)

mkdir(tmpdir, function (er) {
Expand Down

0 comments on commit 0030ade

Please sign in to comment.