From 013eb28f351d155ed9579a09d859ed82a68b06f9 Mon Sep 17 00:00:00 2001 From: Danyel Campbell Date: Sat, 14 Oct 2017 09:51:43 -0500 Subject: [PATCH] (GH 1416) Incorrect documentation for Install-ChocolateyInstallPackage The -ValidExitCodes should not have the "=" in it Fix -ValidExitCodes = @(0) to -ValidExitCodes @(0) --- .../helpers/functions/Install-ChocolateyInstallPackage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chocolatey.resources/helpers/functions/Install-ChocolateyInstallPackage.ps1 b/src/chocolatey.resources/helpers/functions/Install-ChocolateyInstallPackage.ps1 index 848e9f9860..633144fd79 100644 --- a/src/chocolatey.resources/helpers/functions/Install-ChocolateyInstallPackage.ps1 +++ b/src/chocolatey.resources/helpers/functions/Install-ChocolateyInstallPackage.ps1 @@ -141,7 +141,7 @@ Install-ChocolateyInstallPackage 'bob' 'exe' '/S' "$(Split-Path -Parent $MyInvoc Install-ChocolateyInstallPackage -PackageName 'bob' -FileType 'exe' ` -SilentArgs '/S' ` -File "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)\bob.exe" ` - -ValidExitCodes = @(0) + -ValidExitCodes @(0) .LINK Install-ChocolateyPackage