init
This commit is contained in:
12
lib/rocketchat/version.js
Normal file
12
lib/rocketchat/version.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const Factory = require('../factory')
|
||||
|
||||
module.exports = function(context) {
|
||||
//
|
||||
// Write the version object
|
||||
//
|
||||
context.output.write(Factory.version())
|
||||
//
|
||||
// Return a resolved promise
|
||||
//
|
||||
return Promise.resolve(context)
|
||||
}
|
||||
Reference in New Issue
Block a user