mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(util) checkExt: match -> test
This commit is contained in:
parent
921e206d56
commit
e4cf58b433
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@
|
|||
});
|
||||
|
||||
regExp = new RegExp(regStr, 'i');
|
||||
isMatch = name.match(regExp);
|
||||
isMatch = regExp.test(name);
|
||||
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue