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

Do not warn when env var matches argument alias (DAT-16117) #5165

Merged
merged 6 commits into from
Nov 7, 2023

Conversation

abrackx
Copy link
Contributor

@abrackx abrackx commented Nov 6, 2023

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Do not warn on unrecognized LIQUIBASE_ environment variables when the environment variable matches an alias.

Things to be aware of

Things to worry about

Additional Context

…les when the environment variable matches an alias.
@abrackx abrackx added the TypeBug label Nov 6, 2023
@abrackx abrackx self-assigned this Nov 6, 2023
@abrackx abrackx marked this pull request as ready for review November 6, 2023 13:38
@abrackx abrackx requested review from StevenMassaro, filipelautert and MalloD12 and removed request for filipelautert November 6, 2023 13:38
Copy link
Contributor

@StevenMassaro StevenMassaro left a comment

Choose a reason for hiding this comment

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

Are there any tests for this code? Could you add to them or create one for this case?

Also, @wwillard7800 , didn't you make a ticket for this recently? I could be imagining things.

@abrackx
Copy link
Contributor Author

abrackx commented Nov 6, 2023

Are there any tests for this code? Could you add to them or create one for this case?

Also, @wwillard7800 , didn't you make a ticket for this recently? I could be imagining things.

There's none for this particular case since it's integrating the configuration with the env var provider. But yeah, the test cases in this area are very light. I'll see what I can do.

Edit: done!

@abrackx abrackx changed the title Do not warn when env var matches command alias (DAT-16117) Do not warn when env var matches argument alias (DAT-16117) Nov 6, 2023
Copy link

sonarcloud bot commented Nov 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

84.6% 84.6% Coverage
0.0% 0.0% Duplication

@abrackx abrackx merged commit c142b63 into master Nov 7, 2023
31 of 32 checks passed
@abrackx abrackx deleted the DAT-16117 branch November 7, 2023 17:23
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.

None yet

4 participants