Closed
Description
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)
- Create a
license
directory in your Chocolatey install - Add a file to the
license
directory (named something that is notchocolatey.license.xml
- Run
choco list -lo --limit-output
- Observe the error and warning text about there not being a license, but about the license directory not being empty.
System Details
- OS Build: Windows Server 2019
- Windows PowerShell version: 5.1
- Chocolatey version: 1.1.0
Output Log
N/A