Skip to content

Commit

Permalink
Spelling / codeformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanefe committed May 6, 2024
1 parent cf195fe commit 45a80c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Calendar/CalLogHelpers/TimelineFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ function TimelineRow {
}
}
ResourceBookingAssistant {
if ($callog.TriggerAction -eq "MoveToDeletedItems") {
if ($CalLog.TriggerAction -eq "MoveToDeletedItems") {
[array] $Output = "ResourceBookingAssistant Deleted the Cancellation."
} else {
[array] $Output = "ResourceBookingAssistant $($CalLog.TriggerAction)d the Cancellation."
Expand Down
4 changes: 2 additions & 2 deletions Calendar/Get-RBASummary.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,8 @@ function RBALogSummary {
}

# Making RBA Log more readable.
$RBALog = $RBALog.replace(", Entry Action: Message, LogComment","")
$RBALog = $RBALog.replace("Mailbox: ","")
$RBALog = $RBALog.replace(", Entry Action: Message, LogComment", "")
$RBALog = $RBALog.replace("Mailbox: ", "")

$Filename = "RBA-Logs_$($Identity.Split('@')[0])_$((Get-Date).ToString('yyyy-MM-dd_HH-mm-ss')).txt"
Write-Host "`r`n`t RBA Logs saved as [" -NoNewline
Expand Down

0 comments on commit 45a80c2

Please sign in to comment.