From c666a76d5cb13d2558515225d810c1a877b79653 Mon Sep 17 00:00:00 2001 From: vapormusic Date: Wed, 24 Aug 2022 16:09:07 +0000 Subject: [PATCH] chore: Prettified Code [ci skip] --- src/main/plugins/playbackNotifications.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/plugins/playbackNotifications.ts b/src/main/plugins/playbackNotifications.ts index 26d5bb03..c51d3d9a 100644 --- a/src/main/plugins/playbackNotifications.ts +++ b/src/main/plugins/playbackNotifications.ts @@ -101,10 +101,9 @@ export default class playbackNotifications { const dest = createWriteStream(join(app.getPath("temp"), `${a.songId}-${a.artwork.url.split("/").pop()}`)); // @ts-ignore let stream = res.body.pipe(dest); - stream.on('finish', () =>{ + stream.on("finish", () => { this.createNotification(a); }); - }); } else { fetch(a.artwork.url).then(async (blob) => {