Skip to content

Commit da58708

Browse files
committed
Merge pull request #18 from purescript-node/exists
Fix type of exists
2 parents 14130dc + e9dcc45 commit da58708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node/FS/Async.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ appendTextFile encoding file buff cb = mkEff $ \_ -> runFn4
329329
-- Check if the path exists.
330330
--
331331
exists :: forall eff. FilePath
332-
-> (Boolean -> Eff eff Unit)
332+
-> (Boolean -> Eff (fs :: FS | eff) Unit)
333333
-> Eff (fs :: FS | eff) Unit
334334
exists file cb = mkEff $ \_ -> runFn2
335335
fs.exists file $ \b -> runPure (unsafeInterleaveEff (cb b))

0 commit comments

Comments
 (0)