Merge pull request #684 from Romanitho/create-pull-request/patch
[MegaLinter] Apply linters automatic fixespull/683/head
commit
df13512306
|
@ -49,4 +49,4 @@
|
|||
"*.csv",
|
||||
"*.txt"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#Function to rotate the logs
|
||||
#Function to rotate the logs
|
||||
|
||||
function Invoke-LogRotation ($LogFile, $MaxLogFiles, $MaxLogSize) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue