Skip to content

Commit 101cb44

Browse files
committed
20220509B
1 parent 030635b commit 101cb44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function Add-GitHubActionsPATH {
163163
$Path | ForEach-Object -Process {
164164
if (
165165
$NoValidator -or
166-
(Test-Path -Path $_ -IsValid)
166+
(Test-Path -Path $_ -PathType 'Container' -IsValid)
167167
) {
168168
$Result += $_
169169
} else {

0 commit comments

Comments
 (0)