integrated-application-development / sonar-delphi

Delphi language plugin for SonarQube
GNU Lesser General Public License v3.0
104 stars 15 forks source link

Silence noisy warnings around library path properties #276

Closed Cirras closed 3 months ago

Cirras commented 3 months ago

In #267, we added support for the library path by manually adding DelphiLibraryPath and DelphiTranslatedLibraryPath to the search path in DelphiProjectParser.

This works well, but produces some noisy warnings when paths in the library path properties don't exist. By default, the library path contains non-existent paths.

We're already special-casing the construction of the search path here, so what's one more kludge? This PR silences warnings when constructing path lists for the DelphiLibraryPath and DelphiTranslatedLibraryPath properties.