Skip to content

Loading…

Fix type: order of args to errnoException() - child_process.js #2217

Closed
wants to merge 1 commit into from

2 participants

@tshinnic

References: original pull req 2.5 months ago
#1689

The other typo fix, as discovered by @piscisaureus commit Nov 24, 2011
83152d1#lib/dgram.js

@bnoordhuis
Node.js Foundation member

Thanks, Thomas. Merged in eba1f7b.

@bnoordhuis bnoordhuis closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 28, 2011
  1. @tshinnic

    Fix type: order of args to errnoException()

    tshinnic committed
    References:  original pull req 2.5 months ago
        nodejs#1689
    @piscisaureus  commit Nov 24, 2011
    nodejs@83152d1#lib/dgram.js
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/child_process.js
View
2 lib/child_process.js
@@ -440,7 +440,7 @@ ChildProcess.prototype.spawn = function(options) {
this._internal.close();
this._internal = null;
- throw errnoException('spawn', errno);
+ throw errnoException(errno, 'spawn');
}
this.pid = this._internal.pid;
Something went wrong with that request. Please try again.