mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(console) exports.init -> module.exports
This commit is contained in:
parent
33119558c3
commit
63ae0116d0
2 changed files with 2 additions and 2 deletions
|
|
@ -185,7 +185,7 @@
|
|||
|
||||
if (listen) {
|
||||
status = 'on';
|
||||
Console.init();
|
||||
Console();
|
||||
Terminal.init();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
find = require('glob');
|
||||
});
|
||||
|
||||
exports.init = function() {
|
||||
module.exports = function() {
|
||||
var ret;
|
||||
|
||||
ret = socket.on('connection', function(clientSocket) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue