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 authored and gep13 committed Feb 28, 2018
1 parent cd8ef68 commit 0906de8
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 0906de8

Please sign in to comment.