more RawFilePath conversion
This commit was sponsored by Luke Shumaker on Patreon.
This commit is contained in:
parent
b724236b35
commit
55400a03d3
22 changed files with 91 additions and 79 deletions
|
@ -41,7 +41,8 @@ batchParser s = case separate (== ' ') (reverse s) of
|
|||
| null ru || null rf -> return $ Left "Expected: \"file url\""
|
||||
| otherwise -> do
|
||||
let f = reverse rf
|
||||
f' <- liftIO $ relPathCwdToFile f
|
||||
f' <- liftIO $ fromRawFilePath
|
||||
<$> relPathCwdToFile (toRawFilePath f)
|
||||
return $ Right (f', reverse ru)
|
||||
|
||||
start :: (SeekInput, (FilePath, URLString)) -> CommandStart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue