Skip to content

Commit 6bc3245

Browse files
eleviation
1 parent e01d6af commit 6bc3245

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Tests/Invoke-CIPPTestsRun.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ function Invoke-CIPPTestsRun {
2020
API = 'CippTests'
2121
}
2222
$Rerun = Test-CIPPRerun @RerunParams
23-
if ($Rerun -eq $true) { return $true }
23+
if ($Rerun -eq $true) {
24+
Write-Host "rerun is true for $($TenantFilter)"
25+
return $true
26+
}
2427
try {
2528
$AllTests = Get-Command -Name 'Invoke-CippTest*' -Module CIPPCore | Select-Object -ExpandProperty Name | ForEach-Object {
2629
$_ -replace '^Invoke-CippTest', ''

0 commit comments

Comments
 (0)