Skip to content

Commit d99625e

Browse files
authored
Merge pull request #3609 from qinezh/patch-3
Fix bug in previous script within appveyor.yml
2 parents b8d4b9d + 7a25952 commit d99625e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ build_script:
4242
{
4343
continue
4444
}
45-
robocopy $help "*.md" (Join-Path $global:output $folder | Join-Path -ChildPath (gi $psd1).BaseName | Join-Path -ChildPath ("v" + ($matches[0] -match $pattern)))
45+
if($matches[0] -match $pattern)
46+
{
47+
robocopy $help "*.md" (Join-Path $global:output $folder | Join-Path -ChildPath (gi $psd1).BaseName | Join-Path -ChildPath ("v" + $matches[0]))
48+
}
4649
}
4750
}
4851
test: off

0 commit comments

Comments
 (0)