0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00

child_process: fix typo in internal message event name

This commit is contained in:
Maciej Małecki 2012-01-10 23:07:12 +01:00 committed by Ben Noordhuis
parent e1b829d2a5
commit 4d49469d0d

View File

@ -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 {