diff options
author | liam4 <towerofnix@gmail.com> | 2017-05-30 17:07:20 +0000 |
---|---|---|
committer | liam4 <towerofnix@gmail.com> | 2017-05-30 17:07:20 +0000 |
commit | e8fa654bcb8a1b191e1c1ce5853c9f0cb529c11d (patch) | |
tree | 0e9828d7c8bc07cafd55832bb6b102b077399c81 /play.js | |
parent | 0001e6af9b3bff269de175dfba965acabe95f899 (diff) |
Remove files after playing again
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js index b8b33f1..f7604f8 100644 --- a/play.js +++ b/play.js @@ -170,8 +170,8 @@ async function loopPlay(fn) { while (wavFile) { const nextPromise = downloadNext() - console.log(wavFile) await playFile(wavFile) + await fsp.unlink(wavFile) wavFile = await nextPromise } } |