diff options
-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) |