From 50a9c1a0a3feca4412f1c4041f041e7faf45088f Mon Sep 17 00:00:00 2001 From: liam4 Date: Wed, 31 May 2017 19:58:52 -0300 Subject: Big bad bug fix --- src/loop-play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit 1.3.0-6-gf8a5