mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-02-14 14:56:38 +07:00
Fix adding composer_bin to PATH
This commit is contained in:
@@ -83,7 +83,7 @@ Function Add-Path {
|
||||
param(
|
||||
[string]$PathItem
|
||||
)
|
||||
if(-not(Test-Path $PathItem) -or "$env:PATH;".contains("$PathItem;")) {
|
||||
if("$env:PATH;".contains("$PathItem;")) {
|
||||
return
|
||||
}
|
||||
if ($env:GITHUB_PATH) {
|
||||
|
||||
Reference in New Issue
Block a user