mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 16:03:22 +01:00
Fixed typo
This commit is contained in:
parent
a378f3ae47
commit
b9351c40c2
@ -11,7 +11,7 @@ try {
|
|||||||
foreach ($File in (get-childItem -path "$Files" -attributes !Directory)) {
|
foreach ($File in (get-childItem -path "$Files" -attributes !Directory)) {
|
||||||
if ("$File" -like "*.mp3") {
|
if ("$File" -like "*.mp3") {
|
||||||
& "$PSScriptRoot/play-mp3.ps1" "$File"
|
& "$PSScriptRoot/play-mp3.ps1" "$File"
|
||||||
} else if ("$File" -like "*.wav") {
|
} elseif ("$File" -like "*.wav") {
|
||||||
& "$PSScriptRoot/play-mp3.ps1" "$File"
|
& "$PSScriptRoot/play-mp3.ps1" "$File"
|
||||||
} else {
|
} else {
|
||||||
"Skipping $File ..."
|
"Skipping $File ..."
|
||||||
|
Loading…
Reference in New Issue
Block a user