Skip to content

Commit

Permalink
Seperator was in the wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
lavaground committed May 28, 2021
1 parent 234d43f commit 0a499a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _Cleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ if ($Files.Count -gt 0) {
}
else {
Write-Output "$_ has no subtitles, renaming file."
Write-Output $SeperatorString
$NewName = $_.FullName -replace $SearchFor, $ReplaceWith
if ($_.FullName -ne $NewName) {
Rename-Item -Path $_.FullName -NewName $NewName
}
else {
Write-Output $SeperatorString
Write-Output $NoRenamesString
}
}
Expand Down

0 comments on commit 0a499a9

Please sign in to comment.