From 785d18f0c0522e79e241ffa21ecf7c8806a68f8c Mon Sep 17 00:00:00 2001 From: Yadhav Jayaraman <57544838+decyjphr@users.noreply.github.com> Date: Tue, 27 Aug 2024 10:01:48 -0400 Subject: [PATCH] fix alerts --- lib/glob.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/glob.js b/lib/glob.js index f15ea346..e95e2c81 100644 --- a/lib/glob.js +++ b/lib/glob.js @@ -6,7 +6,7 @@ class Glob { // If not a glob pattern then just match the string. if (!this.glob.includes('*')) { - this.regexp = new RegExp(`.*${glob}.*`, 'u') + this.regexp = new RegExp(`.*${this.glob}.*`, 'u') return } const regexptex = this.glob