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

[core] Fix loading language properties from env vars #4611

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

adangel
Copy link
Member

@adangel adangel commented Jun 29, 2023

Describe the PR

The environment variables should be uppercase as documented.

Found this while reproducing #4453 when trying to set "PMD_APEX_ROOT_DIRECTORY" which didn't have any effect. I needed to use "PMD_APEX_root_directory" to make it working.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

The environment variables should be uppercase as documented.
@adangel adangel added the a:bug PMD crashes or fails to analyse a file. label Jun 29, 2023
@adangel adangel added this to the 7.0.0 milestone Jun 29, 2023
@pmd-test
Copy link

1 Message
📖 Compared to master:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report

Generated by 🚫 Danger

adangel added a commit that referenced this pull request Sep 28, 2023
adangel added a commit that referenced this pull request Sep 28, 2023
[core] Fix loading language properties from env vars #4611
@adangel adangel merged commit 601e594 into pmd:master Sep 28, 2023
3 checks passed
@adangel adangel deleted the language-proprties-env branch September 28, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug PMD crashes or fails to analyse a file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants