mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(cloudfunc) throw( -> throw
This commit is contained in:
parent
4f2a507f2e
commit
5ff1de40d7
1 changed files with 2 additions and 2 deletions
|
|
@ -93,10 +93,10 @@
|
|||
path = '/';
|
||||
|
||||
if (!url)
|
||||
throw(Error('url could not be empty!'));
|
||||
throw Error('url could not be empty!');
|
||||
|
||||
if (!template)
|
||||
throw(Error('template could not be empty!'));
|
||||
throw Error('template could not be empty!');
|
||||
|
||||
namesRaw = url.split('/')
|
||||
.slice(1, -1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue