Skip to content

Commit 45623c7

Browse files
committed
fix: fix lint
1 parent e9a3434 commit 45623c7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

cli/gitssh.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ import (
77
"os/exec"
88
"strings"
99

10-
"github.com/coder/coder/cli/cliui"
11-
"github.com/coder/coder/codersdk"
1210
"github.com/spf13/cobra"
1311
"golang.org/x/xerrors"
12+
13+
"github.com/coder/coder/cli/cliui"
14+
"github.com/coder/coder/codersdk"
1415
)
1516

1617
func gitssh() *cobra.Command {

coderd/users_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ func TestPutUserSuspend(t *testing.T) {
294294
client := coderdtest.New(t, nil)
295295
me := coderdtest.CreateFirstUser(t, client)
296296
client.User(context.Background(), codersdk.Me)
297-
user, err := client.CreateUser(context.Background(), codersdk.CreateUserRequest{
297+
user, _ := client.CreateUser(context.Background(), codersdk.CreateUserRequest{
298298
Email: "bruno@coder.com",
299299
Username: "bruno",
300300
Password: "password",
301301
OrganizationID: me.OrganizationID,
302302
})
303-
user, err = client.SuspendUser(context.Background(), user.ID)
303+
user, err := client.SuspendUser(context.Background(), user.ID)
304304
require.NoError(t, err)
305305
require.Equal(t, user.Status, codersdk.UserStatusSuspended)
306306
})

0 commit comments

Comments
 (0)