child_process: fix typo in internal message event name
This commit is contained in:
parent
4d49469d0d
commit
c8108aad83
@ -295,7 +295,7 @@ function Worker(customEnv) {
|
||||
}
|
||||
|
||||
// Internal message: handle message
|
||||
this.process.on('inernalMessage', function(message, handle) {
|
||||
this.process.on('internalMessage', function(message, handle) {
|
||||
debug('recived: ', message);
|
||||
|
||||
// relay to handleMessage
|
||||
|
@ -47,7 +47,7 @@ if (process.argv[2] === 'child') {
|
||||
});
|
||||
|
||||
var gotInternal;
|
||||
child.once('inernalMessage', function(data) {
|
||||
child.once('internalMessage', function(data) {
|
||||
gotInternal = data;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user