From 53d8d289cd60b95fbd7aa0e307b2bfaacb891ab2 Mon Sep 17 00:00:00 2001 From: Kevin Locke Date: Sat, 13 Apr 2013 09:17:26 -0600 Subject: [PATCH] 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 --- child_process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/child_process.js b/child_process.js index b9719c5..d881932 100644 --- a/child_process.js +++ b/child_process.js @@ -108,7 +108,7 @@ child_process.execFile = function(file, args, options, callback) {}; /** * @param {string} modulePath * @param {Array.=} args - * @param {child_process.Options} options + * @param {child_process.Options=} options * @return {child_process.ChildProcess} */ child_process.fork = function(modulePath, args, options) {};