You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command run on one the mono-repo sub-projects: npx nx run shared:sonar
Here's the error:
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=30ms
INFO: Load active rules
INFO: Load active rules (done) | time=408ms
INFO: Indexing files...
INFO: Project configuration:
INFO: Excluded sources: **/*.spec.ts
INFO: Included tests: **/*.spec.ts
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 1.789s
INFO: Final Memory: 12M/68M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
ERROR: File libs/shared/src/dto/index.ts can't be indexed twice. Please check that inclusion/exclusion patterns produce disjoint sets for main and test files
Would you see any missing configuration or adjustments are missing here ? Tried setting the testInclusions however it also get doubled in the project excluded sources, ie. set testInclusions to libs/shared/src/**/*.spec.ts, it gets duplicated in excluded sources as shown below:
Hi,
Currently running the scanner on version 0.3.5, however the scanner currently includes twice paths in the project configuration.
Here's the project configuration:
Command run on one the mono-repo sub-projects:
npx nx run shared:sonar
Here's the error:
Would you see any missing configuration or adjustments are missing here ? Tried setting the
testInclusions
however it also get doubled in the project excluded sources, ie. set testInclusions to libs/shared/src/**/*.spec.ts, it gets duplicated in excluded sources as shown below:Error:
The text was updated successfully, but these errors were encountered: