mirror of
https://github.com/Hopiu/webapi-eca.git
synced 2026-03-16 22:10:31 +00:00
push testing
This commit is contained in:
parent
d671f7c09a
commit
19c6a7403f
3 changed files with 3 additions and 3 deletions
|
|
@ -50,8 +50,7 @@ Run test suite:
|
|||
|
||||
Create the doc *(to be accessed via the webserver, e.g.: localhost:8125/doc/)*:
|
||||
|
||||
node create_doc
|
||||
|
||||
node create_doc
|
||||
|
||||
_
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ exports.print = function(module, msg) {
|
|||
console.log((new Date()).toISOString() + ' | ' + module + ' | ' + msg);
|
||||
};
|
||||
|
||||
// @function error(module, msg)
|
||||
// @method error(module, msg)
|
||||
|
||||
/*
|
||||
* Prints a log to stderr.
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ fs.readFile(path.resolve(__dirname, '..', 'config', 'config.json'), 'utf8', func
|
|||
}
|
||||
});
|
||||
|
||||
// Send message
|
||||
process.on('message', function(cmd) {
|
||||
if(typeof procCmds[cmd] === 'function') procCmds[cmd]();
|
||||
else console.error('err with command');
|
||||
|
|
|
|||
Loading…
Reference in a new issue