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#2851) Update LicenseValidation logging logic
The LicenseValidation logging logic was only checking for `-v` or `--version` as the first arguments. This completely ignored `-r`, `--limit-output`, and `--limitoutput`. Additionally, a few places weren't suppressing output when limit output was used. This change correctly detects if regular output is desired, and if it is then it marks the output accordingly, otherwise it outputs to the log file only.
- Loading branch information
Showing
1 changed file
with
21 additions
and
6 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