Skip to content

Commit

Permalink
(GH 1416) Incorrect documentation for Install-ChocolateyInstallPackage
Browse files Browse the repository at this point in the history
The -ValidExitCodes should not have the "=" in it

Fix -ValidExitCodes = @(0) to -ValidExitCodes @(0)
  • Loading branch information
danyel-campbell committed Oct 19, 2017
1 parent 9c0a77d commit c5c88a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5c88a0

Please sign in to comment.