Merge pull request #684 from Romanitho/create-pull-request/patch

[MegaLinter] Apply linters automatic fixes
pull/683/head
Romain 2024-09-03 00:24:26 +02:00 committed by GitHub
commit df13512306
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

2
.github/cspell.json vendored
View File

@ -49,4 +49,4 @@
"*.csv",
"*.txt"
]
}
}

View File

@ -272,7 +272,7 @@ function Add-WAUWhiteList ($AppID) {
}
Write-ToLog "-> Add $AppID to WAU included_apps.txt"
#Add App to "included_apps.txt"
Add-Content -path $WhiteList -Value "`n$AppID" -Force
Add-Content -Path $WhiteList -Value "`n$AppID" -Force
#Remove duplicate and blank lines
$file = Get-Content $WhiteList | Select-Object -Unique | Where-Object { $_.trim() -ne "" } | Sort-Object
$file | Out-File $WhiteList

View File

@ -1,4 +1,4 @@
#Function to rotate the logs
#Function to rotate the logs
function Invoke-LogRotation ($LogFile, $MaxLogFiles, $MaxLogSize) {