Skip to content

Commit

Permalink
include extensionless files
Browse files Browse the repository at this point in the history
  • Loading branch information
patrix87 committed Feb 7, 2024
1 parent ce3be9a commit 4256145
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions functions/server/Backup-Server.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ try {
return $true
}

if ($_.Extension -eq '') {
if($Global.Debug) {Write-ServerMsg "Excluded: File extension is empty."}
return $false
}

if ($Global.Exclusions.Count -gt 0) {
if ($_.Extension -in $Global.Exclusions) {
if($Global.Debug) {Write-ServerMsg "Excluded: Global Extension Exclusions"}
Expand Down

0 comments on commit 4256145

Please sign in to comment.