Skip to content

Commit 0b0561a

Browse files
committed
fix: exclude src/__tests__ from sonar.sources to avoid duplicate indexing
AI-Session-Id: 7cc4f2fa-2bef-4add-b7a7-abe2b510985e AI-Tool: claude-code AI-Model: unknown
1 parent f2ce78d commit 0b0561a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.harness/pipeline.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pipeline:
107107
-Dsonar.tests=src/__tests__ \
108108
-Dsonar.host.url=https://sonar.harness.io \
109109
-Dsonar.token=<+secrets.getValue("sonarqube-token")> \
110-
-Dsonar.exclusions="**/node_modules/**,**/umd/**,**/es/**,**/lib/**"
110+
-Dsonar.exclusions="**/node_modules/**,**/umd/**,**/es/**,**/lib/**,src/__tests__/**"
111111
- step:
112112
type: Run
113113
name: Post Quality Gate

0 commit comments

Comments
 (0)