mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(util) indexOf -> ~indexOf
This commit is contained in:
parent
a81d2e3c42
commit
90997adad2
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@
|
|||
result = result.replace(regExp, str);
|
||||
});
|
||||
|
||||
if (result.indexOf('{{'))
|
||||
if (~result.indexOf('{{'))
|
||||
result.replace(/{{\s*.*\s*}}/, '');
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue