Skip to content
Permalink
Browse files
CB-6178 Plugman does not cache downloaded plugins
close #70
  • Loading branch information
sgrebnov authored and agrieve committed Apr 16, 2014
1 parent c14f6b8 commit 34221b31e9d376656fee7863eb98de42a5d635fa
Showing 1 changed file with 1 addition and 1 deletion.
@@ -52,7 +52,7 @@ function fetchPackage(info, cl) {
if(fs.existsSync(cached)) {
d.resolve(cached);
} else {
var download_dir = path.join(os.tmpdir(), info.name);
var download_dir = path.resolve(cached, '..');
shell.mkdir('-p', download_dir);

var req = makeRequest('GET', info.dist.tarball, function (err, res, body) {

0 comments on commit 34221b3

Please sign in to comment.