Skip to content

Commit edb35c6

Browse files
committed
Fix warning
1 parent 759c4c1 commit edb35c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Cut/Download.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ runYoutubeDL opts x = do
3434
filePath :: String
3535
filePath = maybe inputChars (flip (</>) inputChars) $ opts ^. work_dir
3636
resultPath = filePath <> ".mkv"
37-
void $ shelly $ do
38-
youtube_dl x filePath
37+
shelly $ do
38+
void $ youtube_dl x filePath
3939
-- (#52): fix bug where youtube-dl doesn't always create .mkv file output
4040
out <- test_f filePath
4141
when out $ mv filePath resultPath

0 commit comments

Comments
 (0)