diff options
Diffstat (limited to 'src/downloaders.js')
-rw-r--r-- | src/downloaders.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/downloaders.js b/src/downloaders.js index b9cc33d..2df6655 100644 --- a/src/downloaders.js +++ b/src/downloaders.js @@ -14,6 +14,13 @@ const { promisify } = require('util') const writeFile = promisify(fs.writeFile) const copyFile = fse.copy +// Pseudo-tempy!! +/* +const tempy = { + directory: () => './tempy-fake' +} +*/ + function makeHTTPDownloader() { return function(arg) { const dir = tempy.directory() |