oops
This commit is contained in:
parent
9c9a3c10ce
commit
a1f8621efc
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ withTmpDirIn :: FilePath -> Template -> (FilePath -> IO a) -> IO a
|
|||
withTmpDirIn tmpdir template = bracket create remove
|
||||
where
|
||||
remove d = whenM (doesDirectoryExist d) $
|
||||
return () -- removeDirectoryRecursive d
|
||||
removeDirectoryRecursive d
|
||||
create = do
|
||||
createDirectoryIfMissing True tmpdir
|
||||
makenewdir (tmpdir </> template) (0 :: Int)
|
||||
|
|
Loading…
Reference in a new issue