From 4e17688a9b250a99989624e25956ee4d3f2159d9 Mon Sep 17 00:00:00 2001 From: Chris Collison Date: Tue, 3 Feb 2026 04:54:05 -0600 Subject: [PATCH] style: add white space after download url in error message (#31) --- src/download-cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/download-cli.js b/src/download-cli.js index 65acace..7886286 100644 --- a/src/download-cli.js +++ b/src/download-cli.js @@ -22,7 +22,7 @@ fs.mkdirSync(path.dirname(EXECUTABLE_PATH), { recursive: true }); async function downloadFile(url, dest) { const res = await fetch(url); if (!res.ok) { - throw new Error(`Failed to fetch ${url}: ${res.statusText}`); + throw new Error(`Failed to fetch ${url} : ${res.statusText}`); } const fileStream = fs.createWriteStream(dest); await new Promise((resolve, reject) => {