mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-10-26 22:37:03 +00:00
style(server): gofmt the doc comment (IDEA-2756)
gofmt wants blank lines between list items once one item spans multiple paragraphs, which the BUG-2792 note made true. My error, and worth naming exactly: I ran build, vet and the targeted tests on this commit but not lint, because lint had passed on the PREVIOUS commit and the change was 'only a comment'. The gate has to run on the tree being pushed, not on an earlier one that resembles it. CI's golangci-lint is pinned to the same v2.11.4 the Makefile installs, so there was no version skew to blame — the local gate would have caught this in 51 seconds.
This commit is contained in:
@@ -463,8 +463,10 @@ func (s *Server) handleCreateWorkspace(w http.ResponseWriter, r *http.Request) {
|
||||
//
|
||||
// - The calling token isn't an OAuth grant (PAT, CLI session token —
|
||||
// they don't carry a request_id).
|
||||
//
|
||||
// - The grant's connection row doesn't exist (pre-Phase-C tokens
|
||||
// fall here until backfill).
|
||||
//
|
||||
// - The flag is off (user explicitly scoped out creation power at
|
||||
// consent time or via the connections-page mutation UI). Since
|
||||
// IDEA-2756 handleCreateWorkspace refuses a flag-off connection
|
||||
|
||||
Reference in New Issue
Block a user