Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Node/ChildProcess.purs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ foreign import onError :: forall eff. ChildProcess -> (Error -> Eff eff Unit) ->
-- | not throw an error. Instead, the `ChildProcess` will be created anyway,
-- | but it will immediately emit an 'error' event.
spawn :: forall eff. String -> Array String -> SpawnOptions -> Eff (cp :: CHILD_PROCESS | eff) ChildProcess
spawn cmd args opts = spawnImpl cmd args (convertOpts opts)
spawn cmd args = spawnImpl cmd args <<< convertOpts
where
convertOpts opts =
{ cwd: fromMaybe undefined opts.cwd
Expand Down