Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/download-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added space before the colon is inconsistent with error message formatting throughout the codebase. All other error messages use the pattern "message: variable" without a space before the colon. For example, see lines 54, 65, 75, and 90 in this same file, as well as src/oidc-auth.js:172, src/create-config-file.js:38, and src/main.js:61. The error message should follow the established convention of no space before the colon.

Copilot uses AI. Check for mistakes.
}
const fileStream = fs.createWriteStream(dest);
await new Promise((resolve, reject) => {
Expand Down
Loading