How to use the glob.Glob.call function in glob

To help you get started, we’ve selected a few glob examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zeit / now / src / commands / dev / lib / glob.ts View on Github external
export function GlobIgnore(
  pattern: string,
  options: IOptions,
  callback: GlobCallback,
  shouldIgnore: (val: string) => boolean
) {
  // @ts-ignore
  this[IGNORE] = shouldIgnore;
  // @ts-ignore
  Glob.call(this, pattern, options, callback);
}