Skip to content

Commit

Permalink
Update initialize-hawkglobalobject to allow for all interactive tests…
Browse files Browse the repository at this point in the history
… to pass.
  • Loading branch information
jonnybottles committed Jan 15, 2025
1 parent 990d2ca commit 679299b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hawk/internal/functions/Initialize-HawkGlobalObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
# Validate the date
if ($StartDate -gt (Get-Date).ToUniversalTime()) {
Out-LogFile -string "Start date cannot be in the future." -isError
$StartDate = $null
Remove-Variable -Name StartDate -ErrorAction SilentlyContinue
continue
}

Expand Down

0 comments on commit 679299b

Please sign in to comment.