| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e552158 commit b5931e1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,7 +59,7 @@ function stdioStringToArray(option) { | |||
| 59 | 59 | } | |
| 60 | 60 | } | |
| 61 | 61 | ||
| 62 | - exports.fork = function(modulePath /* , args, options */) { | ||
| 62 | + exports.fork = function fork(modulePath /* , args, options */) { | ||
| 63 | 63 | ||
| 64 | 64 | // Get options and args arguments. | |
| 65 | 65 | var execArgv; | |
@@ -110,7 +110,7 @@ exports.fork = function(modulePath /* , args, options */) { | |||
| 110 | 110 | }; | |
| 111 | 111 | ||
| 112 | 112 | ||
| 113 | - exports._forkChild = function(fd) { | ||
| 113 | + exports._forkChild = function _forkChild(fd) { | ||
| 114 | 114 | // set process.send() | |
| 115 | 115 | var p = new Pipe(PipeConstants.IPC); | |
| 116 | 116 | p.open(fd); | |
@@ -143,7 +143,7 @@ function normalizeExecArgs(command, options, callback) { | |||
| 143 | 143 | } | |
| 144 | 144 | ||
| 145 | 145 | ||
| 146 | - exports.exec = function(command /* , options, callback */) { | ||
| 146 | + exports.exec = function exec(command /* , options, callback */) { | ||
| 147 | 147 | var opts = normalizeExecArgs.apply(null, arguments); | |
| 148 | 148 | return exports.execFile(opts.file, | |
| 149 | 149 | opts.options, | |
@@ -172,7 +172,7 @@ Object.defineProperty(exports.exec, util.promisify.custom, { | |||
| 172 | 172 | value: customPromiseExecFunction(exports.exec) | |
| 173 | 173 | }); | |
| 174 | 174 | ||
| 175 | - exports.execFile = function(file /* , args, options, callback */) { | ||
| 175 | + exports.execFile = function execFile(file /* , args, options, callback */) { | ||
| 176 | 176 | var args = []; | |
| 177 | 177 | var callback; | |
| 178 | 178 | var options = { | |
@@ -511,7 +511,7 @@ function normalizeSpawnArguments(file, args, options) { | |||
| 511 | 511 | } | |
| 512 | 512 | ||
| 513 | 513 | ||
| 514 | - var spawn = exports.spawn = function(/* file, args, options */) { | ||
| 514 | + var spawn = exports.spawn = function spawn(/* file, args, options */) { | ||
| 515 | 515 | var opts = normalizeSpawnArguments.apply(null, arguments); | |
| 516 | 516 | var options = opts.options; | |
| 517 | 517 | var child = new ChildProcess(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments