Skip to content

fix: refuse --variant on other commands - #449

Merged
HaoZeke merged 1 commit into
developfrom
fix/variant-other-command
Nov 27, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/variant-other-command

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

--variant stayed set when a later word selected another
command. eb then installed the optimised module, and env,
config, profiles and dev succeeded as if the option were
absent.

Refuse it unless the command is a recipe build or submit.
submit still puts the option on the batch command.

`--variant` stayed set when a later word selected another
command. `eb` then installed the optimised module, and `env`,
`config`, `profiles` and `dev` succeeded as if the option were
absent.

Refuse it unless the command is a recipe build or `submit`.
`submit` still puts the option on the batch command.
@HaoZeke
HaoZeke merged commit 9f5fd88 into develop Nov 27, 2026
11 of 12 checks passed
@HaoZeke
HaoZeke deleted the fix/variant-other-command branch November 27, 2026 00:26
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.

1 participant