Skip to content
This repository
Browse code

docs: fix typo in code snippet

  • Loading branch information...
commit 49c3a910c67df8e8eeb3d33d284de29439b1e0e4 1 parent 53c163c
Ben Noordhuis bnoordhuis authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  doc/api/child_processes.markdown
2  doc/api/child_processes.markdown
Source Rendered
@@ -241,7 +241,7 @@ processes:
241 241
242 242 process.on('message', function(m, serverHandle) {
243 243 if (serverHandle) {
244   - var server = require('child_process').createServer();
  244 + var server = require('net').createServer();
245 245 server.listen(serverHandle);
246 246 }
247 247 });

0 comments on commit 49c3a91

Please sign in to comment.
Something went wrong with that request. Please try again.