diff --git a/lib/CLI.js b/lib/CLI.js index d307c1b5..dd943b20 100644 --- a/lib/CLI.js +++ b/lib/CLI.js @@ -790,8 +790,8 @@ CLI.reset = function(process_name, cb) { return cb ? cb({msg:err}) : exitCli(cst.ERROR_EXIT); } if (ids.length === 0) { - printError('Unknow process name'); - return cb ? cb({msg:'Unknow process name'}) : exitCli(cst.ERROR_EXIT); + printError('Unknown process name'); + return cb ? cb({msg:'Unknown process name'}) : exitCli(cst.ERROR_EXIT); } return processIds(ids, cb); }); diff --git a/lib/Configuration.js b/lib/Configuration.js index 5a3fec4a..20d4fe86 100644 --- a/lib/Configuration.js +++ b/lib/Configuration.js @@ -271,7 +271,7 @@ Configuration.get = function(key, cb) { return false; }); - if (!data) return cb({err : 'Unknow key'}, null); + if (!data) return cb({err : 'Unknown key'}, null); return cb(null, data); }); }; diff --git a/lib/Interactor/PushInteractor.js b/lib/Interactor/PushInteractor.js index 3acbbe6f..f3d7a2ba 100644 --- a/lib/Interactor/PushInteractor.js +++ b/lib/Interactor/PushInteractor.js @@ -167,7 +167,7 @@ var PushInteractor = module.exports = { var logs_limit_size = 1024 * 50; // if (Object.keys(self._packet).indexOf(event) == -1) { - // return console.error('SKIP unknow field name [%s]', event); + // return console.error('SKIP unknown field name [%s]', event); // } debug('Buffering one more event %s', event); diff --git a/test/interface/custom-actions.mocha.js b/test/interface/custom-actions.mocha.js index 62ff9b10..b44d4e7f 100644 --- a/test/interface/custom-actions.mocha.js +++ b/test/interface/custom-actions.mocha.js @@ -207,7 +207,7 @@ describe('CUSTOM ACTIONS', function() { server.emit('cmd', { _type : 'trigger:action', process_id : 0, - action_name : 'unknow:action' + action_name : 'unknown:action' }); });