Fixed typo

This commit is contained in:
Markus Fleschutz 2021-05-01 10:23:46 +02:00
parent a378f3ae47
commit b9351c40c2

View File

@ -11,7 +11,7 @@ try {
foreach ($File in (get-childItem -path "$Files" -attributes !Directory)) {
if ("$File" -like "*.mp3") {
& "$PSScriptRoot/play-mp3.ps1" "$File"
} else if ("$File" -like "*.wav") {
} elseif ("$File" -like "*.wav") {
& "$PSScriptRoot/play-mp3.ps1" "$File"
} else {
"Skipping $File ..."