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

fix(): use defaultFlags when flags is empty #1464

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rh-hemartin
Copy link

@rh-hemartin rh-hemartin commented Dec 12, 2024

This PR changes where defaultFlags get applied. Currently it is conditioned to config.Flags to be empty, but that is manipulated by a previous method. That manipulation includes adding flags based on the configuration options. This makes config.Flags almost never empty, so defaultFlags is almost never used. The PR changes where defaultFlags gets applied so it is previous to the manipulation based on command line arguments. This way if the build itself didn't specify flags, defaultFlags is used.

Resolves #1450

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.

defaultFlags is ignored
1 participant