mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
feature(tryRequire) name, callback -> name, options
This commit is contained in:
parent
4d8adf3ed9
commit
30ea708d09
6 changed files with 11 additions and 14 deletions
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
tryRequire = require(DIR_SERVER + 'tryRequire'),
|
||||
|
||||
io = tryRequire('socket.io');
|
||||
io = tryRequire('socket.io', {log: true});
|
||||
|
||||
/**
|
||||
* start server function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue