File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 71
71
$installer = Get-FileFromUrlOrCache - Url $installerUrl - CachedFileName ' composer-installer.php'
72
72
}
73
73
$tempPhar = [System.IO.Path ]::GetTempFileName();
74
- $args = @ ()
75
- $args += $installer
76
- $args += ' --install-dir=' + (Split-Path - Path $tempPhar - Parent)
77
- $args += ' --filename=' + (Split-Path - Path $tempPhar - Leaf)
78
- $args += ' 2>&1'
74
+ $arguments = @ ()
75
+ $arguments += $installer
76
+ $arguments += ' --install-dir=' + (Split-Path - Path $tempPhar - Parent)
77
+ $arguments += ' --filename=' + (Split-Path - Path $tempPhar - Leaf)
78
+ $arguments += ' 2>&1'
79
79
Write-Verbose " Launching Composer installer"
80
- $installerResult = & $phpVersion.ExecutablePath $args
80
+ $installerResult = & $phpVersion.ExecutablePath $arguments
81
81
if ($LASTEXITCODE -ne 0 ) {
82
82
throw $installerResult
83
83
}
You can’t perform that action at this time.
0 commit comments