mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(patch) rm tryRequire
This commit is contained in:
parent
f3e30608fa
commit
4a5ad589eb
1 changed files with 1 additions and 2 deletions
|
|
@ -10,8 +10,7 @@
|
|||
diffPatch = require('diff-match-patch').diff_match_patch,
|
||||
diff = new (require(DIR + 'diff').DiffProto)(diffPatch),
|
||||
|
||||
tryRequire = require('tryrequire'),
|
||||
flop = tryRequire('flop', {log: true, exit: true}),
|
||||
flop = require('flop'),
|
||||
|
||||
ERROR_MSG = 'File is to big. ' +
|
||||
'Could not patch files ' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue