保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 26fa49f4b0aa658d65a21fffe828f39e78302573
PAMapp/node_modules/micromatch/index.js
@@ -155,10 +155,10 @@
    items.push(state.output);
  };
  let matches = micromatch(list, patterns, { ...options, onResult });
  let matches = new Set(micromatch(list, patterns, { ...options, onResult }));
  for (let item of items) {
    if (!matches.includes(item)) {
    if (!matches.has(item)) {
      result.add(item);
    }
  }
@@ -408,7 +408,7 @@
 *
 * ```js
 * const mm = require('micromatch');
 * const state = mm(pattern[, options]);
 * const state = mm.parse(pattern[, options]);
 * ```
 * @param {String} `glob`
 * @param {Object} `options`