Skip to content

Commit 6cfb62c

Browse files
committed
Linting
1 parent 208eaf1 commit 6cfb62c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

coderd/coderd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import (
3838
"cdr.dev/slog"
3939

4040
"github.com/coder/coder/buildinfo"
41+
// Used for swagger docs.
4142
_ "github.com/coder/coder/coderd/apidoc"
4243
"github.com/coder/coder/coderd/audit"
4344
"github.com/coder/coder/coderd/awsidentity"

coderd/workspaceapps_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,9 @@ func TestWorkspaceApplicationAuth(t *testing.T) {
223223
if c.expectRedirect == "" {
224224
require.Error(t, err)
225225
return
226-
} else {
227-
require.NoError(t, err)
228-
return
229226
}
227+
require.NoError(t, err)
228+
return
230229
}
231230
if c.expectRedirect == "" {
232231
t.Fatal("expected a failure but got a success")

0 commit comments

Comments
 (0)