Skip to content

Commit eb6319f

Browse files
committed
remove unnecessary options object manipulation
1 parent 511b122 commit eb6319f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

common.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,6 @@ function setopts (self, pattern, options) {
104104

105105
self.nomount = !!options.nomount
106106

107-
// disable comments and negation unless the user explicitly
108-
// passes in false as the option.
109-
options.nonegate = true
110-
options.nocomment = true
111-
112107
self.minimatch = new Minimatch(pattern, options)
113108
self.options = self.minimatch.options
114109
}

0 commit comments

Comments
 (0)