Skip to content

Commit

Permalink
And coverage is looking in wrong directoty
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Feb 5, 2019
1 parent 5547d99 commit a866cfa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Azure-Pipelines/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ if($Test.IsPresent -or $TestCompile.IsPresent) {

$RelevantFiles = (Get-ChildItem ./BurntToast -Recurse -Include "*.psm1","*.ps1").FullName

if ($TestCompile.IsPresent) {
if (!($TestCompile.IsPresent)) {
$RelevantFiles = (Get-ChildItem ./BurntToast -Recurse -Include "*.psm1","*.ps1").FullName
} else {
$Global:TestOutput = $true
$RelevantFiles = (Get-ChildItem ./Output -Recurse -Include "*.psm1","*.ps1").FullName
}

if ($env:TF_BUILD) {
Expand Down

0 comments on commit a866cfa

Please sign in to comment.