Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
child_process: fix typo in internal message event name
  • Loading branch information
mmalecki authored and bnoordhuis committed Jan 10, 2012
1 parent e1b829d commit 4d49469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/child_process.js
Expand Up @@ -107,7 +107,7 @@ function setupChannel(target, channel) {
typeof message === 'object' &&
typeof message.cmd === 'string' &&
message.cmd.indexOf('NODE_') === 0) {
target.emit('inernalMessage', message, recvHandle);
target.emit('internalMessage', message, recvHandle);
}
//Non-internal message
else {
Expand Down

3 comments on commit 4d49469

@AndreasMadsen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AndreasMadsen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bnoordhuis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, my fault. I grepped for other occurrences of ineralMessage in lib/ and test/simple/ before landing Maciej's patch - but I misspelled the event name... :-/

Please sign in to comment.