Skip to content

Commit 41ef8a9

Browse files
🩹 [Refactor]: Replace GetRelativePath with Resolve-Path for improved path resolution in Get-TestSuites workflow
1 parent 22fff4a commit 41ef8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/workflows/Get-TestSuites.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
[pscustomobject]@{
8181
RunsOn = $osConfig.runson
8282
OSName = $osConfig.name
83-
TestFolderPath = [System.IO.Path]::GetRelativePath($PWD.Path, $folder)
83+
TestFolderPath = Resolve-Path -Path $folder -Relative
8484
TestName = Split-Path -Path $folder -Leaf
8585
}
8686
}

0 commit comments

Comments
 (0)