Skip to content

Commit

Permalink
4.4.0 fix missing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTaylorLee committed Nov 14, 2024
1 parent 06a1644 commit c65ebb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/functions/Move-FileToMediaFolder.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function Move-FileToMEDIAFolder {
}

#Move processed show files
$destination = $showsdb | Where-Object { $_.filename -eq $destinationfilename }
$destination = $showsdb | Where-Object { $_.comment -eq $comment }
if ($null -ne $destination) {
$oldsizemb = (Get-ChildItem -LiteralPath $destination.fullname | Select-Object @{ Name = "oldsizeMB"; Expression = { [math]::round(($_.length / 1mb), 2) } }).oldsizeMB
if (Test-Path -LiteralPath $destination.fullname -ErrorAction SilentlyContinue) {
Expand Down

0 comments on commit c65ebb5

Please sign in to comment.