Commit 3c574e39 authored by Suhaimi Amir's avatar Suhaimi Amir

remove cb

parent ec62b3b2
Pipeline #1167 passed with stage
in 31 seconds
......@@ -47,7 +47,7 @@ exports.onChange = (name, files = []) => {
configSubscriber = new cote.Subscriber({ name: 'Config Lib : Subs', key: 'config' });
}
configSubscriber.on('config.update', (config, cb) => {
configSubscriber.on('config.update', (config) => {
if (config.name === name) {
logger.info('Config file has been updated...');
logger.debug(`${JSON.stringify(config)}`);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment