Skip to content

Commit 0d2d80a

Browse files
committed
Merge branch 'add-proxy-support' of https://github.com/github/safe-settings into add-proxy-support
2 parents 5c56a29 + 694023a commit 0d2d80a

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)