保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 9bdb95c9e34cef640534e5e5a1e2225a80442000
PAMapp/node_modules/debug/src/common.js
@@ -34,7 +34,7 @@
   /**
   * Selects a color for a debug namespace
   * @param {String} namespace The namespace string for the for the debug instance to be colored
   * @param {String} namespace The namespace string for the debug instance to be colored
   * @return {Number|String} An ANSI color code for the given namespace
   * @api private
   */
@@ -179,7 +179,7 @@
         namespaces = split[i].replace(/\*/g, '.*?');
         if (namespaces[0] === '-') {
            createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
            createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));
         } else {
            createDebug.names.push(new RegExp('^' + namespaces + '$'));
         }