mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix(cloudcmd) drop support of node < 14
This commit is contained in:
parent
7371871f15
commit
c3339d8ea2
7 changed files with 12 additions and 9 deletions
|
|
@ -70,7 +70,7 @@ function rest(config, request, response) {
|
|||
if (options.query)
|
||||
params.query = options.query;
|
||||
|
||||
if (error && error.code)
|
||||
if (error?.code)
|
||||
return ponse.sendError(error, params);
|
||||
|
||||
if (error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue