Azure Devops: The 'files' list in config file 'tsconfig.json' is empty after updating to sonarqube 8.9 LTS

Version

  • SonarScanner for MSBuild 5.2.1
  • Run Code Analysis Task 4.20.0
  • Sonarqube 8.9

Error

On the azure task we get:
[error]ERROR: The ‘files’ list in config file ‘tsconfig.json’ is empty.
ERROR: The ‘files’ list in config file ‘tsconfig.json’ is empty.
INFO: 0 source files to be analyzed

steps to reproduce

On a project where you have no ts files at all, run the code analysis task

The task seems to continue, but we keep getting this error.

Perhaps related to

Cheers,
Marco

Hi @mlop3s,

It looks like you’ve run into a known issue which our language analyzer team is working on.

ok. I think we can live with this issue and will wait for the fix. Thanks for the feedback.
ps: No logs needed then right?