mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(package) tryRequire -> require
This commit is contained in:
parent
6b8c8d9c33
commit
8eda081d64
1 changed files with 2 additions and 3 deletions
|
|
@ -9,13 +9,12 @@
|
|||
zlib = require('zlib'),
|
||||
|
||||
tryRequire = require(DIR + 'tryRequire'),
|
||||
tryOptions = {log: true, exit: true},
|
||||
|
||||
tar = tryRequire('tar'),
|
||||
fstream = tryRequire('fstream'),
|
||||
|
||||
pipe = tryRequire('pipe-io', tryOptions),
|
||||
files = tryRequire('files-io', tryOptions),
|
||||
pipe = require('pipe-io'),
|
||||
files = require('files-io'),
|
||||
|
||||
Util = require(DIR_LIB + 'util');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue