Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Commit 53d8d28

Browse files
committed
Make options argument of child_process.fork optional
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]>
1 parent 7c545e0 commit 53d8d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

child_process.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ child_process.execFile = function(file, args, options, callback) {};
108108
/**
109109
* @param {string} modulePath
110110
* @param {Array.<string>=} args
111-
* @param {child_process.Options} options
111+
* @param {child_process.Options=} options
112112
* @return {child_process.ChildProcess}
113113
*/
114114
child_process.fork = function(modulePath, args, options) {};

0 commit comments

Comments
 (0)