Skip to content

Commit

Permalink
(GH-808) type is string, not statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Jun 23, 2016
1 parent c53f584 commit a76add4
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -85,7 +85,8 @@ param(
[parameter(Mandatory=$false)] $validExitCodes = @(0),
[parameter(ValueFromRemainingArguments = $true)][Object[]] $ignoredArguments
)
[statements]$statements = $statements -join ' '
[string]$statements = $statements -join ' '

Write-Debug "Running 'Start-ChocolateyProcessAsAdmin' with exeToRun:`'$exeToRun`', statements: `'$statements`' ";

$wrappedStatements = $statements
Expand Down

0 comments on commit a76add4

Please sign in to comment.