Skip to content

Commit 8f77f6d

Browse files
committed
Fix shadowed name warning
1 parent c4547f8 commit 8f77f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node/ChildProcess.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ foreign import onError :: forall eff. ChildProcess -> (Error -> Eff eff Unit) ->
195195
-- | not throw an error. Instead, the `ChildProcess` will be created anyway,
196196
-- | but it will immediately emit an 'error' event.
197197
spawn :: forall eff. String -> Array String -> SpawnOptions -> Eff (cp :: CHILD_PROCESS | eff) ChildProcess
198-
spawn cmd args opts = spawnImpl cmd args (convertOpts opts)
198+
spawn cmd args = spawnImpl cmd args <<< convertOpts
199199
where
200200
convertOpts opts =
201201
{ cwd: fromMaybe undefined opts.cwd

0 commit comments

Comments
 (0)