Skip to content

Commit 37d32f8

Browse files
committed
Don't download to tmp by default
1 parent e377ea0 commit 37d32f8

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ var Download = require('download');
66
var globby = require('globby');
77
var osFilterObj = require('os-filter-obj');
88
var path = require('path');
9-
var tempfile = require('tempfile');
109

1110
/**
1211
* Initialize a new `BinWrapper`
@@ -56,10 +55,6 @@ BinWrapper.prototype.src = function (src, os, arch) {
5655
*/
5756

5857
BinWrapper.prototype.dest = function (dest) {
59-
if (!arguments.length && !this._dest) {
60-
this._dest = tempfile();
61-
}
62-
6358
if (!arguments.length) {
6459
return this._dest;
6560
}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"bin-version-check": "^2.1.0",
3030
"download": "^4.0.1-rc.1",
3131
"globby": "^1.0.0",
32-
"os-filter-obj": "^1.0.0",
33-
"tempfile": "^1.1.0"
32+
"os-filter-obj": "^1.0.0"
3433
},
3534
"devDependencies": {
3635
"ava": "^0.0.4",

0 commit comments

Comments
 (0)