diff options
author | liam4 <towerofnix@gmail.com> | 2017-05-31 19:58:52 -0300 |
---|---|---|
committer | liam4 <towerofnix@gmail.com> | 2017-05-31 19:58:52 -0300 |
commit | 50a9c1a0a3feca4412f1c4041f041e7faf45088f (patch) | |
tree | 3871fd1d1befebe1d50c74e341165a47253a00d8 | |
parent | 9c8a5ec9ccc6bdb49238551264bd18510ebcf1b7 (diff) |
Big bad bug fix
-rw-r--r-- | src/loop-play.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loop-play.js b/src/loop-play.js index 4d8dd0a..8c81680 100644 --- a/src/loop-play.js +++ b/src/loop-play.js @@ -29,7 +29,7 @@ module.exports = async function loopPlay(fn) { console.log(`Downloading ${title}..\n${href}`) const wavDir = tempy.directory() - const wavFile = wavDir + `.${sanitize(title)}.wav` + const wavFile = wavDir + `/.${sanitize(title)}.wav` const downloadFile = tempy.file() const res = await fetch(href) |