mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(util) checkExt: add case-insensitive check
This commit is contained in:
parent
5278d5bc5b
commit
26776f225b
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@
|
|||
exts: ext
|
||||
});
|
||||
|
||||
regExp = new RegExp(regStr);
|
||||
regExp = new RegExp(regStr, 'i');
|
||||
isMatch = name.match(regExp);
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue