mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
win_chocolatey - remove stray comment
This commit is contained in:
@@ -328,7 +328,6 @@ Function Get-ChocolateyPackageVersion {
|
||||
$res = Run-Command -command $command
|
||||
|
||||
# Chocolatey v0.10.12 introduced enhanced exit codes, 2 means no results, e.g. no package
|
||||
#
|
||||
if ($res.rc -notin @(0, 2)) {
|
||||
$module.Result.command = $command
|
||||
$module.Result.rc = $res.rc
|
||||
|
||||
Reference in New Issue
Block a user