--pre option isn't passed to "choco.exe list" when using choco_package resource #8722
Using the chocolatey_package resource to deploy a pre-release package, the recipe fails.
Windows Server 2019 Standard Evaluation
Stdout is blank because no packages were found. Stderr is blank because according to chocolatey, nothing's gone wrong.
The last line shows the command that was run, and this is where the problem is. Because we passed --pre as an option in our recipe, the command should be