Fix adding composer_bin to PATH

This commit is contained in:
Shivam Mathur
2022-02-09 03:27:03 +05:30
parent a72a638da4
commit 7854a0cae7
4 changed files with 4 additions and 4 deletions

View File

@ -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) {