Skip to content

Conversation

@BartoszBlizniak
Copy link
Member

Update error message whitespace in v1

Copilot AI review requested due to automatic review settings February 3, 2026 11:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.
@BartoszBlizniak BartoszBlizniak merged commit d9be686 into master Feb 3, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants