mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fixed bug in checkExtension function
This commit is contained in:
parent
1f541d13e6
commit
751c9c11ea
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ CloudFunc.checkExtension=function(pName,pExt)
|
|||
return lExtSub===pExt.length;
|
||||
|
||||
}else if(typeof pExt === 'object' &&
|
||||
pName.length){
|
||||
pExt.length){
|
||||
for(var i=0; i < pName.length; i++)
|
||||
if(this.checkExtension(pName, pExt[i]));
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue