mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(config) rm tryRequire
This commit is contained in:
parent
846f91997b
commit
f38d65c93f
1 changed files with 2 additions and 3 deletions
|
|
@ -18,10 +18,9 @@
|
|||
check = Util.check,
|
||||
|
||||
tryRequire = require(DIR_SERVER + 'tryRequire'),
|
||||
tryOptions = {log: true, exit: true},
|
||||
|
||||
pipe = tryRequire('pipe-io', tryOptions),
|
||||
ponse = tryRequire('ponse', tryOptions),
|
||||
pipe = require('pipe-io'),
|
||||
ponse = require('ponse'),
|
||||
|
||||
apiURL = CloudFunc.apiURL,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue