Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Variables set via hooks (jq-set-var) always override variables set in a file #299

Open
betaprior opened this issue Oct 25, 2023 · 0 comments

Comments

@betaprior
Copy link

betaprior commented Oct 25, 2023

Once the variable is set via a hook, trying to change its value by specifying it in a file doesn't work. The reason for this is that the variables parsed from the file are always appended to a list of "overrides", which is also used by the hook functions. This is unintuitive and surprising, and ideally this behavior should be configurable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant