Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
Make options argument of child_process.fork optional
Browse files Browse the repository at this point in the history
According to the docs (and code) this argument is optional.  This also
fixes the warning about non-optional arguments following optional
arguments.

Signed-off-by: Kevin Locke <[email protected]>
  • Loading branch information
kevinoid committed Apr 13, 2013
1 parent 7c545e0 commit 53d8d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion child_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ child_process.execFile = function(file, args, options, callback) {};
/**
* @param {string} modulePath
* @param {Array.<string>=} args
* @param {child_process.Options} options
* @param {child_process.Options=} options
* @return {child_process.ChildProcess}
*/
child_process.fork = function(modulePath, args, options) {};

0 comments on commit 53d8d28

Please sign in to comment.