bring back OsPath changes
I hope that the windows test suite failure on appveyor was fixed by updating to a newer windows there. I have not been able to reproduce that failure in a windows 11 VM run locally.
This commit is contained in:
parent
f0ab439c95
commit
84291b6014
119 changed files with 1003 additions and 647 deletions
|
@ -187,7 +187,9 @@ insertAuthToken extractAuthToken predicate webapp root pathbits params =
|
|||
- to avoid exposing the secret token when launching the web browser. -}
|
||||
writeHtmlShim :: String -> String -> FilePath -> IO ()
|
||||
writeHtmlShim title url file =
|
||||
viaTmp (writeFileProtected . toRawFilePath) file $ genHtmlShim title url
|
||||
viaTmp (writeFileProtected . fromOsPath)
|
||||
(toOsPath $ toRawFilePath file)
|
||||
(genHtmlShim title url)
|
||||
|
||||
genHtmlShim :: String -> String -> String
|
||||
genHtmlShim title url = unlines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue