Skip to content

Commit 694023a

Browse files
authored
Merge branch 'main-enterprise' into add-proxy-support
2 parents 8de3232 + 784fb19 commit 694023a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/glob.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Glob {
44

55
// If not a glob pattern then just match the string.
66
if (!this.glob.includes('*')) {
7-
this.regexp = new RegExp(`.*${this.glob}.*`, 'u')
7+
this.regexp = new RegExp(`\\b${this.glob}\\b`, 'u')
88
return
99
}
1010
this.regexptText = this.globize(this.glob)

0 commit comments

Comments
 (0)