Skip to content

Conversation

@keegancsmith
Copy link
Member

Previously we had code which tried to detect nil values. But for example if a flag is an integer that wouldn't work. Instead we use a more robust approach of only setting variables if the flag was passed in as an argument.

Test Plan: this command actually returns results now. Previously it wouldn't since it would have limit set to 0.

go run ./cmd/src -v mcp list-repos -query 'cloud'

Previously we had code which tried to detect nil values. But for example
if a flag is an integer that wouldn't work. Instead we use a more robust
approach of only setting variables if the flag was passed in as an
argument.

Test Plan: this command actually returns results now. Previously it
wouldn't since it would have limit set to 0.

  go run ./cmd/src -v mcp list-repos -query 'cloud'
@keegancsmith keegancsmith requested review from a team and burmudar December 9, 2025 15:05
@keegancsmith keegancsmith enabled auto-merge (squash) December 9, 2025 15:12
@keegancsmith keegancsmith merged commit 4baaca0 into main Dec 9, 2025
8 checks passed
@keegancsmith keegancsmith deleted the k/walk branch December 9, 2025 15:17
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.

3 participants