Skip to content

chore: apply linter auto-fixes #12605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
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 cli/templatepull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func TestTemplatePull_ToDir(t *testing.T) {

require.NoError(t, inv.Run())

// Validate behaviour of choosing template name in the absence of an output path argument.
// Validate behavior of choosing template name in the absence of an output path argument.
Copy link
Contributor

Choose a reason for hiding this comment

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

Who knew linters were 🇺🇸

Copy link
Member Author

Choose a reason for hiding this comment

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

🦅

destPath := actualDest
if destPath == "" {
destPath = template.Name
Expand Down
2 changes: 1 addition & 1 deletion coderd/database/dbmem/dbmem.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func New() database.Store {

_, err = q.InsertAllUsersGroup(context.Background(), defaultOrg.ID)
if err != nil {
panic(fmt.Errorf("failed to create default group: %w", err))
panic(xerrors.Errorf("failed to create default group: %w", err))
}

q.defaultProxyDisplayName = "Default"
Expand Down