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) => {