Skip to content

fix: define constant for duplicated GQL client error string (go:S1192) - #138

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1775754421-fix-duplicated-gql-client-error-string
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1775754421-fix-duplicated-gql-client-error-string

fix: define constant for duplicated GQL client error string

51572ea
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 9, 2026 in 21s

Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 203 in pkg/github/discussions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested anonymous struct into a named type for better readability and reusability.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZ1zOQHRTAyY_RG9KdHc&open=AZ1zOQHRTAyY_RG9KdHc&pullRequest=138

Check warning on line 113 in pkg/github/discussions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested anonymous struct into a named type for better readability and reusability.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZ1zOQHRTAyY_RG9KdHa&open=AZ1zOQHRTAyY_RG9KdHa&pullRequest=138

Check warning on line 72 in pkg/github/discussions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested anonymous struct into a named type for better readability and reusability.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZ1zOQHRTAyY_RG9KdHZ&open=AZ1zOQHRTAyY_RG9KdHZ&pullRequest=138

Check warning on line 365 in pkg/github/discussions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested anonymous struct into a named type for better readability and reusability.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZ1zOQHRTAyY_RG9KdHf&open=AZ1zOQHRTAyY_RG9KdHf&pullRequest=138

Check warning on line 197 in pkg/github/discussions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested anonymous struct into a named type for better readability and reusability.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZ1zOQHRTAyY_RG9KdHb&open=AZ1zOQHRTAyY_RG9KdHb&pullRequest=138

Check warning on line 269 in pkg/github/discussions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested anonymous struct into a named type for better readability and reusability.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZ1zOQHRTAyY_RG9KdHe&open=AZ1zOQHRTAyY_RG9KdHe&pullRequest=138

Check warning on line 268 in pkg/github/discussions.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested anonymous struct into a named type for better readability and reusability.

See more on https://sonarcloud.io/project/issues?id=COG-GTM_github-mcp-server&issues=AZ1zOQHRTAyY_RG9KdHd&open=AZ1zOQHRTAyY_RG9KdHd&pullRequest=138