mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 10:14:13 +00:00
feature(util) checkArgs -> check
This commit is contained in:
parent
5ce9ceb0f3
commit
dc3ecd9f56
27 changed files with 99 additions and 86 deletions
|
|
@ -18,7 +18,7 @@
|
|||
'bigger then ';
|
||||
|
||||
module.exports = function(name, patch, options, callback) {
|
||||
Util.checkArgs(arguments, ['name', 'patch', 'callback']);
|
||||
Util.check(arguments, ['name', 'patch', 'callback']);
|
||||
|
||||
if (!callback) {
|
||||
callback = options;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue