add newline
This commit is contained in:
parent
ea505e0474
commit
9a50a7ce91
@ -143,7 +143,7 @@ class SpotifyDownloader extends Downloader
|
|||||||
return reject(new Error('Got bad output from zotify (could not find file name) and could not find by ID from cache file'));
|
return reject(new Error('Got bad output from zotify (could not find file name) and could not find by ID from cache file'));
|
||||||
}
|
}
|
||||||
const { file, name } = match.groups!;
|
const { file, name } = match.groups!;
|
||||||
fs.appendFileSync(path.join(this.downloadDir!, '.song_ids'), `${id}\t${(new Date()).toLocaleString('sv')}\t${name}\t${file}`);
|
fs.appendFileSync(path.join(this.downloadDir!, '.song_ids'), `${id}\t${(new Date()).toLocaleString('sv')}\t${name}\t${file}\n`);
|
||||||
data = this.#parseFilename(file);
|
data = this.#parseFilename(file);
|
||||||
}
|
}
|
||||||
if (!data)
|
if (!data)
|
||||||
|
Loading…
Reference in New Issue
Block a user