Skip to content

Commit

Permalink
add atomic runner hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
clr2of8 committed Oct 3, 2023
1 parent 78c6442 commit 2928c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Public/Invoke-AtomicRunner.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
. "$PSScriptRoot\Invoke-RunnerScheduleMethods.ps1"

function Invoke-AtomicRunner {
[CmdletBinding(
SupportsShouldProcess = $true,
Expand Down Expand Up @@ -173,6 +174,7 @@ function Invoke-AtomicRunner {
}
return
}

# exit if file stop.txt is found
If (Test-Path $artConfig.stopFile) {
LogRunnerMsg "exiting script because $($artConfig.stopFile) does exist"
Expand Down

0 comments on commit 2928c73

Please sign in to comment.