Skip to content

Commit

Permalink
Merge pull request #684 from Romanitho/create-pull-request/patch
Browse files Browse the repository at this point in the history
[MegaLinter] Apply linters automatic fixes
  • Loading branch information
Romanitho authored Sep 2, 2024
2 parents 5fc6933 + 8f74550 commit df13512
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@
"*.csv",
"*.txt"
]
}
}
2 changes: 1 addition & 1 deletion Sources/Winget-AutoUpdate/Winget-Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Sources/Winget-AutoUpdate/functions/Invoke-LogRotation.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Function to rotate the logs
#Function to rotate the logs

function Invoke-LogRotation ($LogFile, $MaxLogFiles, $MaxLogSize) {

Expand Down

0 comments on commit df13512

Please sign in to comment.