Skip to content

Commit bfc1c22

Browse files
authored
Update lib/constants.js
1 parent a9e2dd2 commit bfc1c22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module.exports = {
9898
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
9999

100100
// Replace globs with equivalent patterns to reduce parsing time.
101-
REPLACEMENTS: Object.assign(Object.create(null), {
101+
REPLACEMENTS: Object.create(null, {
102102
'***': '*',
103103
'**/**': '**',
104104
'**/**/**': '**'

0 commit comments

Comments
 (0)