From 943b3447c7dc6743ec7c6d1c644f2eb9cc4669cb Mon Sep 17 00:00:00 2001 From: liam4 Date: Tue, 25 Jul 2017 11:03:03 -0300 Subject: Was I even awake --- src/downloaders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/downloaders.js') diff --git a/src/downloaders.js b/src/downloaders.js index c3dc43d..aa0bc44 100644 --- a/src/downloaders.js +++ b/src/downloaders.js @@ -107,7 +107,7 @@ function makeConverterDownloader(downloader, type) { const inFile = await downloader(arg) const base = path.basename(inFile, path.extname(inFile)) const tempDir = tempy.directory() - const outFile = tempDir + base + '.' + type + const outFile = `${tempDir}/${base}.${type}` await promisifyProcess(spawn('avconv', ['-i', inFile, outFile]), false) -- cgit 1.3.0-6-gf8a5