docs: function insertResolvedFiles(filesAndPatterns, resolvedFiles) {
    var allFiles = [];
  
    filesAndPatterns.forEach(function(fileOrPattern) {
      if (resolvedFiles[fileOrPattern]) {
        // Glob pattern: add all resolved files in its place.
        Array.prototype.push.apply(allFiles, resolvedFiles[fileOrPattern]);
      } else {
        // Regular file: just add it.
        allFiles.push(fileOrPattern);
      }
    });
  
    // Remove any duplicates.
    return underscore.unique(allFiles);
  }