Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set sonar.delphi.installationPath when initializing SonarDelphi #11

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

fourls
Copy link
Collaborator

@fourls fourls commented Mar 20, 2024

Fixes #10 by using the correct setting name for the SonarDelphi property containing Delphi installation.

DelphiLint currently incorrectly passes the Delphi installation through to SonarDelphi using the sonar.delphi.bds.path setting, which was replaced by sonar.delphi.installationPath in SonarDelphi 1.0.0. As a result, SonarDelphi uses the default Delphi 11 installation path in all cases, which causes errors when Delphi 11 is not installed.

@fourls fourls force-pushed the delphi-12-compat branch 3 times, most recently from e752f00 to daa76bf Compare March 20, 2024 04:19
@fourls fourls requested a review from Cirras March 20, 2024 04:19
Copy link
Collaborator

@Cirras Cirras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one changelog tweak.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@Cirras Cirras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@Cirras Cirras merged commit b51332f into master Mar 20, 2024
4 checks passed
@Cirras Cirras deleted the delphi-12-compat branch March 20, 2024 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DelphiLint fails when Delphi 11 is not installed
2 participants