code: function resolveFileGlobPatterns(patterns, options) {
      if (options.globInputPaths === false) {
          return patterns;
      }
  
      const processPathExtensions = processPath(options);
  
      return patterns.map(processPathExtensions);
  }
docs: ------------------------------------------------------------------------------ Public Interface ------------------------------------------------------------------------------ 
  Resolves any directory patterns into glob-based patterns for easier handling.
  @param   {string[]} patterns               File patterns (such as passed on the command line).
  @param   {Object} options                  An options object.
  @param   {string} [options.globInputPaths] False disables glob resolution.
  @returns {string[]} The equivalent glob patterns and filepath strings.