diff options
Diffstat (limited to 'deps/npm/node_modules/glob/sync.js')
-rw-r--r-- | deps/npm/node_modules/glob/sync.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/npm/node_modules/glob/sync.js b/deps/npm/node_modules/glob/sync.js index 686f2c369..7aa0d07c5 100644 --- a/deps/npm/node_modules/glob/sync.js +++ b/deps/npm/node_modules/glob/sync.js @@ -18,7 +18,8 @@ var childrenIgnored = common.childrenIgnored function globSync (pattern, options) { if (typeof options === 'function' || arguments.length === 3) - throw new TypeError('callback provided to sync glob') + throw new TypeError('callback provided to sync glob\n'+ + 'See: https://github.com/isaacs/node-glob/issues/167') return new GlobSync(pattern, options).found } @@ -28,7 +29,8 @@ function GlobSync (pattern, options) { throw new Error('must provide pattern') if (typeof options === 'function' || arguments.length === 3) - throw new TypeError('callback provided to sync glob') + throw new TypeError('callback provided to sync glob\n'+ + 'See: https://github.com/isaacs/node-glob/issues/167') if (!(this instanceof GlobSync)) return new GlobSync(pattern, options) |