code: function formatPath(pattern, path) {
      let prefix = pattern.replace(/(\/\*\*|\/\*)/g, '');
      return path.replace(prefix, '').replace(/(\/[a-zA-Z-_]+)/, '$1' + prefix);
    }
docs: 把 []
  @param  {[type]} pattern [description]
  @param  {[type]} path    [description]
  @return {[type]}         [description]