From 256832dab6e7444ca2ddc5c3299c48dce78e71c1 Mon Sep 17 00:00:00 2001 From: Rowanda <84088833+r0wanda@users.noreply.github.com> Date: Thu, 12 Dec 2024 20:43:40 -0800 Subject: [PATCH] fix formatting --- src/scripts/download.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scripts/download.ts b/src/scripts/download.ts index e227092..26e0c51 100644 --- a/src/scripts/download.ts +++ b/src/scripts/download.ts @@ -15,13 +15,13 @@ export const downloadFile = function (fileUrl: string, targetPath: string) { .then((res) => { const out = fs.createWriteStream(targetPath); - res.data.pipe(out); + res.data.pipe(out); - out.on("finish", resolve); + out.on("finish", resolve); - out.on("error", reject); + out.on("error", reject); - res.data.on("error", reject); - }).catch(reject); + res.data.on("error", reject); + }).catch(reject); }); };