We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
assert.ok
1 parent 5e27b39 commit 6e12d20Copy full SHA for 6e12d20
sync.js
@@ -48,7 +48,7 @@ function GlobSync (pattern, options) {
48
}
49
50
GlobSync.prototype._finish = function () {
51
- assert(this instanceof GlobSync)
+ assert.ok(this instanceof GlobSync)
52
if (this.realpath) {
53
var self = this
54
this.matches.forEach(function (matchset, index) {
@@ -72,7 +72,7 @@ GlobSync.prototype._finish = function () {
72
73
74
GlobSync.prototype._process = function (pattern, index, inGlobStar) {
75
76
77
// Get the first [n] parts of pattern that are all strings.
78
var n = 0
0 commit comments