mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
chore: lint
This commit is contained in:
parent
93aa7278b7
commit
75bf8a1275
14 changed files with 21 additions and 33 deletions
|
|
@ -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('?', '.?')}$`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue