Skip to content

Commit a2c639e

Browse files
committed
0.1.1
Documentation: - fixed test tools integration sample code
1 parent 04211c0 commit a2c639e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/test-tools-integration.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ $config.CodeCoverage.OutputFormat = 'JaCoCo'
3232
3333
Invoke-Pester -Configuration $config
3434
. ("$PSScriptRoot\config.ps1")
35-
Remove-Item -Path $Global:jacocoxml2htmlConfig.destination_directory -Recurse -Force
35+
if (Test-Path -Path $Global:jacocoxml2htmlConfig.destination_directory) {
36+
Remove-Item -Path $Global:jacocoxml2htmlConfig.destination_directory -Recurse -Force
37+
}
3638
& .\constup-jacoco-xml-to-html -config .\config.ps1
3739
----
3840

0 commit comments

Comments
 (0)