[MegaLinter] Apply linters automatic fixes

pull/684/head
Romanitho 2024-09-02 22:23:24 +00:00 committed by github-actions[bot]
parent 5fc69335b5
commit 1f4e98ac30
4 changed files with 4 additions and 4 deletions

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,6 +1,6 @@
#Function to get the outdated app list, in formatted array
function Get-WingetOutdatedApps {
function Get-WingetOutdatedApp {
class Software {
[string]$Name
[string]$Id

View File

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