Skip to content

fix(filter): passthrough gh pr/issue filters when user supplies --json/-q/--jq#382

Open
sumitparakh wants to merge 1 commit into
mpecan:mainfrom
sumitparakh:fix/issue381
Open

fix(filter): passthrough gh pr/issue filters when user supplies --json/-q/--jq#382
sumitparakh wants to merge 1 commit into
mpecan:mainfrom
sumitparakh:fix/issue381

Conversation

@sumitparakh
Copy link
Copy Markdown

Unconditional run overrides that inject --json would conflict with user-supplied --json/--jq/-q flags, causing the on_success template to render empty fields. Adding these flags to passthrough_args skips the filter entirely when detected, preserving the user's intended output.

Fixes #381

…n/-q/--jq

Unconditional run overrides that inject --json would conflict with user-supplied
--json/--jq/-q flags, causing the on_success template to render empty fields.
Adding these flags to passthrough_args skips the filter entirely when detected,
preserving the user's intended output.

Fixes mpecan#381
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.

gh/pr/view built-in filter mangles output when user passes their own --json/-q flags

1 participant