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

Validate in CLI and serverside that exec gets at least one arg #1188

Merged
merged 2 commits into from
Mar 11, 2021

Conversation

mitchellh
Copy link
Contributor

One argument (the command to execute) is required. This validates it.

Without this, users would get exec just terminated with no message.

@mitchellh mitchellh requested a review from a team March 11, 2021 19:22
@github-actions github-actions bot added the core label Mar 11, 2021
Copy link
Member

@briancain briancain left a comment

Choose a reason for hiding this comment

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

✔️

@mitchellh mitchellh merged commit 2be6c84 into main Mar 11, 2021
@mitchellh mitchellh deleted the bug/exec-args branch March 11, 2021 19:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants