chore: lint

This commit is contained in:
coderaiser 2023-12-03 23:07:50 +02:00
parent 93aa7278b7
commit 75bf8a1275
14 changed files with 21 additions and 33 deletions

View file

@ -17,7 +17,6 @@ module.exports.escapeRegExp = (str) => {
*/
module.exports.getRegExp = (wildcard) => {
const escaped = `^${wildcard // search from start of line
.replace(/\./g, '\\.')
.replace(/\*/g, '.*')
.replace('?', '.?')}$`;