Skip to content

Commit

Permalink
Bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Seng-Jik committed Feb 7, 2024
1 parent a746f49 commit 395d559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runtime.hs
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ httpGet' [UnError (PieString url)] = PieString <$> liftIO (httpGetString url)
httpGet' _ = invalidArg

httpDownload' :: PieFunc
httpDownload' [(UnError (PieString outFilePath)), (UnError (PieString url))] = do
httpDownload' [UnError (PieString outFilePath), (UnError (PieString url))] = do
content <- liftIO $ httpGet url
liftIO $ Utf8.writeFile outFilePath content
return PieNil
Expand Down

0 comments on commit 395d559

Please sign in to comment.