Skip to content

Commit fde4908

Browse files
committed
Linting
1 parent 2be844f commit fde4908

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

coderd/userauth.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,6 @@ func (api *API) convertUserToOauth(ctx context.Context, r *http.Request, db data
13221322
}
13231323
}
13241324
return nil
1325-
13261325
}
13271326

13281327
// githubLinkedID returns the unique ID for a GitHub user.
@@ -1393,8 +1392,5 @@ func findLinkedUser(ctx context.Context, db database.Store, linkedID string, ema
13931392
}
13941393

13951394
func isMergeStateString(state string) bool {
1396-
if strings.HasPrefix(state, mergeStateStringPrefix) {
1397-
return true
1398-
}
1399-
return false
1395+
return strings.HasPrefix(state, mergeStateStringPrefix)
14001396
}

0 commit comments

Comments
 (0)