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