forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolatey#2899) Move validation logic inside command check
First we check that we are running the info command, then we do validation on whether no package ids or multiple package ids have been passed to the command. This allows the list command to function as normal, as it happily accepts 0 or multiple packages.
- Loading branch information
1 parent
0af866c
commit 0996629
Showing
1 changed file
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters