diff options
author | liam4 <towerofnix@gmail.com> | 2017-07-25 11:03:03 -0300 |
---|---|---|
committer | liam4 <towerofnix@gmail.com> | 2017-07-25 11:03:03 -0300 |
commit | 943b3447c7dc6743ec7c6d1c644f2eb9cc4669cb (patch) | |
tree | d18eebbdc55fa55d01cf9aa4652a538adf15e585 | |
parent | bb1a0d08e408f949d3b94206f8b5883a659f4d0d (diff) |
Was I even awake
-rw-r--r-- | src/downloaders.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) |