mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 10:14:13 +00:00
feature(edit) rm tryRequire
This commit is contained in:
parent
faba464a18
commit
35ad8de19d
1 changed files with 2 additions and 5 deletions
|
|
@ -10,11 +10,8 @@
|
|||
patch = require(DIR_SERVER + 'patch'),
|
||||
hash = require(DIR_SERVER + 'hash'),
|
||||
|
||||
tryRequire = require('./tryRequire'),
|
||||
tryOptions = {log: true, exit: true},
|
||||
|
||||
mellow = tryRequire('mellow', tryOptions),
|
||||
files = tryRequire('files-io', tryOptions);
|
||||
mellow = require('mellow'),
|
||||
files = require('files-io');
|
||||
|
||||
module.exports = function(sock) {
|
||||
Util.check(arguments, ['socket']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue