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
{{ message }}
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.
Operating system: Debian
Scanner version: sonar-scanner-3.2.0.1227-linux
Typescript version: 2.4.3 and also tried 2.9.2(latest)
When running on my typescript project, the files are correctly scanned and covered by everything except the tslint-sonarts plugin.
The plugin first says it can't find the files, but then finds them locally and seems to generate metadata for them. It's like the absolute paths do not work but the relative paths do. The output:
5:51:25.193 DEBUG: Starting external process `node /project/.scannerwork/sonarts-bundle/node_modules/tslint-sonarts/bin/tsrunner`
15:51:27.211 ERROR: Missing source file : /project/src/auth.ts
15:51:27.216 ERROR: Missing source file : /project/src/config/logger-categories.ts
15:51:27.221 ERROR: Missing source file : /project/src/config/logger-config.ts
15:51:27.229 ERROR: Missing source file : /project/src/features/ex-dashboard/ex-dashboard.component.ts
15:51:27.262 ERROR: Missing source file : /project/src/features/ex-dashboard/tests/ex-dashboard.component.tests.ts
15:51:27.272 ERROR: Missing source file : /project/src/features/functestapp/functestapp.component.ts
15:51:27.288 ERROR: Missing source file : /project/src/features/functestapp/tests/functestapp.component.tests.ts
15:51:27.294 ERROR: Missing source file : /project/src/features/page-not-found/page-not-found.component.ts
15:51:27.314 ERROR: Missing source file : /project/src/features/page-not-found/tests/page-not-found.component.tests.ts
15:51:27.323 ERROR: Missing source file : /project/src/functestapp.module.ts
15:51:27.330 ERROR: Missing source file : /project/src/functestapp.routing.ts
15:51:27.334 ERROR: Missing source file : /project/src/placeholder.ts
15:51:27.339 ERROR: Missing source file : /project/src/polyfills.ts
15:51:27.344 ERROR: Missing source file : /project/src/prelaunch.ts
15:51:27.349 ERROR: Missing source file : /project/src/root.aot.ts
15:51:27.353 ERROR: Missing source file : /project/src/root.ts
15:51:27.454 DEBUG: 'src/auth.ts' generated metadata with charset 'UTF-8'
15:51:27.545 DEBUG: 'src/config/logger-categories.ts' generated metadata with charset 'UTF-8'
15:51:27.552 DEBUG: Not enough content in 'src/config/logger-categories.ts' to have CPD blocks, it will not be part of the duplication detection
15:51:27.560 DEBUG: 'src/config/logger-config.ts' generated metadata with charset 'UTF-8'
15:51:27.574 DEBUG: 'src/features/ex-dashboard/ex-dashboard.component.ts' generated metadata with charset 'UTF-8'
15:51:27.589 DEBUG: 'src/features/ex-dashboard/tests/ex-dashboard.component.tests.ts' generated metadata with charset 'UTF-8'
15:51:27.604 DEBUG: 'src/features/functestapp/functestapp.component.ts' generated metadata with charset 'UTF-8'
15:51:27.621 DEBUG: 'src/features/functestapp/tests/functestapp.component.tests.ts' generated metadata with charset 'UTF-8'
15:51:27.634 DEBUG: 'src/features/page-not-found/page-not-found.component.ts' generated metadata with charset 'UTF-8'
15:51:27.647 DEBUG: 'src/features/page-not-found/tests/page-not-found.component.tests.ts' generated metadata with charset 'UTF-8'
15:51:27.659 DEBUG: 'src/functestapp.module.ts' generated metadata with charset 'UTF-8'
15:51:27.668 DEBUG: 'src/functestapp.routing.ts' generated metadata with charset 'UTF-8'
15:51:27.678 DEBUG: 'src/placeholder.ts' generated metadata with charset 'UTF-8'
15:51:27.682 DEBUG: Not enough content in 'src/placeholder.ts' to have CPD blocks, it will not be part of the duplication detection
15:51:27.687 DEBUG: 'src/polyfills.ts' generated metadata with charset 'UTF-8'
15:51:27.692 DEBUG: Not enough content in 'src/polyfills.ts' to have CPD blocks, it will not be part of the duplication detection
15:51:27.697 DEBUG: 'src/prelaunch.ts' generated metadata with charset 'UTF-8'
15:51:27.706 DEBUG: 'src/root.aot.ts' generated metadata with charset 'UTF-8'
15:51:27.716 DEBUG: 'src/root.ts' generated metadata with charset 'UTF-8'
15:51:27.720 INFO: Sensor TypeScript Sensor [typescript] (done) | time=5165ms
The text was updated successfully, but these errors were encountered:
Operating system: Debian
Scanner version: sonar-scanner-3.2.0.1227-linux
Typescript version: 2.4.3 and also tried 2.9.2(latest)
When running on my typescript project, the files are correctly scanned and covered by everything except the tslint-sonarts plugin.
The plugin first says it can't find the files, but then finds them locally and seems to generate metadata for them. It's like the absolute paths do not work but the relative paths do. The output:
The text was updated successfully, but these errors were encountered: