You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some context for anyone that might pick this up, I thought initially that this might be as simple as adding a check for regular output, but without debugging, it looks like a large portion of this is fixed by assessing the logic here:
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.
What You Are Seeing?
When running a command with
--limit-output
, the License Validation will sometimes output errors and warnings.What is Expected?
Chocolatey License Validation should not output unless absolutely necessary.
How Did You Get This To Happen? (Steps to Reproduce)
license
directory in your Chocolatey installlicense
directory (named something that is notchocolatey.license.xml
choco list -lo --limit-output
System Details
Output Log
N/A
The text was updated successfully, but these errors were encountered: