Fix: Log entries appear multiple times

$Close parameter evaluation had a typo, $this removed
This commit is contained in:
Gal Szkolnik 2023-07-20 23:57:54 +00:00
parent c37fbb522e
commit 0d4a19addd
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class LogEntry {
[String]$Status,
[switch]$Quiet
){
if( $this.$Close ) {
if( $Close ) {
$this.Active = $false
}
$this.Duration = [DateTime]::Now - $this.Timestamp