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

Chore: alert when multiple conmmands were selected #179

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

OdenTakashi
Copy link

@OdenTakashi OdenTakashi commented Jan 21, 2025

Thank you for developing such a awesome gem. 👍

In this PR, I have worked on the TODO comment at the following location:

# TODO: Should raise or alert user that multiple commands were selected but only 1 command will be ran

Description

I have added an alert message indicating that only one command will be executed when multiple commands are specified.

Additionally, the following section did not enter the conditional branch, so I moved it above if @commands.any?.
If you have any better approaches, I would appreciate your suggestions.

@drwl
Copy link
Owner

drwl commented Jan 26, 2025

@OdenTakashi this looks good to me, but can you rebase? There was a new PR merged in to fix CI.

@OdenTakashi OdenTakashi force-pushed the chore/alert_when_multiple_conmmands_were_selected branch from 31da0e7 to 915394f Compare January 26, 2025 01:58
@OdenTakashi
Copy link
Author

@drwl
Thank you for checking. (:
I have just rebased it.

@OdenTakashi OdenTakashi force-pushed the chore/alert_when_multiple_conmmands_were_selected branch from 5e0123f to 449933e Compare January 30, 2025 03: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.

2 participants