Language of file sql can not be decided as the file matches patterns of both

Hello,

Im using sonarcube and i trying to analize a asp net project, but my project contains only sql scripts.

Im using:
Developer edition version 9.1.0.47736 on Widnows 10

I have had quite a few problems and some have been fixed, now I have this error:

Language of file ‘buildDB.sql’ can not be decided as the file matches patterns of both sonar.lang.patterns.swift : /*.sql,/.tsql and sonar.lang.patterns.tsql : **/.sql

In Ui for swift file i dont find any refer to this extension.
but, I saw this property in SonarQubeAnalysysConfig.xml:

Property Name=“sonar.swift.file.suffixes”>sql,tsql</Property

I tried to change it from xml, but it is restored after every run.

Can anyone help me?

Hi,

Where is this file stored? If it’s checked in to your project, you’ll need to check in your changes to it.

 
HTH,
Ann