Skip to content

Commit 4e17688

Browse files
collisonchrisBartoszBlizniak
authored andcommitted
style: add white space after download url in error message (#31)
1 parent 7fbcba1 commit 4e17688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/download-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fs.mkdirSync(path.dirname(EXECUTABLE_PATH), { recursive: true });
2222
async function downloadFile(url, dest) {
2323
const res = await fetch(url);
2424
if (!res.ok) {
25-
throw new Error(`Failed to fetch ${url}: ${res.statusText}`);
25+
throw new Error(`Failed to fetch ${url} : ${res.statusText}`);
2626
}
2727
const fileStream = fs.createWriteStream(dest);
2828
await new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)