init
This commit is contained in:
13
lib/rocketchat/end.js
Normal file
13
lib/rocketchat/end.js
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// Initialize the child logger for
|
||||
// the module
|
||||
//
|
||||
const log = require('../log').child({
|
||||
module: 'end'
|
||||
})
|
||||
|
||||
module.exports = function(context) {
|
||||
log.info('end')
|
||||
context.rocketchat.close()
|
||||
context.output.end()
|
||||
}
|
||||
Reference in New Issue
Block a user