Skip to content

Commit 49829c6

Browse files
authored
Merge pull request #9 from purescript-node/fix-shadow
Fix shadowed name warning
2 parents c4547f8 + 8f77f6d commit 49829c6

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)