Skip to content

fix: reject empty default project resolution - #10

Merged
ashishmax31 merged 1 commit into
mainfrom
fix/resolve-default-project-empty
Aug 9, 2026
Merged

fix: reject empty default project resolution#10
ashishmax31 merged 1 commit into
mainfrom
fix/resolve-default-project-empty

Conversation

@ashishmax31

Copy link
Copy Markdown
Contributor

Summary

  • select only projects with non-empty names
  • fall back to organization projects when the current-user response is empty or malformed
  • return a clear error when neither endpoint yields a usable project
  • add regression coverage for the Hub membership-object response shape

Testing

  • go test ./...
  • go vet ./...

Addresses the CLI robustness portion of #7. The Hub API contract mismatch remains a server-side concern.

@ashishmax31
ashishmax31 merged commit 0a7704a into main Aug 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant