« get me outta code hell

Big bad bug fix - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorliam4 <towerofnix@gmail.com>2017-05-31 19:58:52 -0300
committerliam4 <towerofnix@gmail.com>2017-05-31 19:58:52 -0300
commit50a9c1a0a3feca4412f1c4041f041e7faf45088f (patch)
tree3871fd1d1befebe1d50c74e341165a47253a00d8
parent9c8a5ec9ccc6bdb49238551264bd18510ebcf1b7 (diff)
Big bad bug fix
-rw-r--r--src/loop-play.js2
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)