{"size": 397, "ext": "js", "max_stars_repo_path": "docs/config/services/getMinerrInfo.js", "max_stars_repo_name": "rjenks/angular.js", "max_stars_repo_stars_event_min_datetime": "2015-01-01T19:53:37.000Z", "max_stars_repo_stars_event_max_datetime": "2016-04-08T07:09:00.000Z", "max_issues_repo_path": "docs/config/services/getMinerrInfo.js", "max_issues_repo_name": "hoangtuanm/angular.js", "max_issues_repo_issues_event_min_datetime": "2019-02-13T21:19:50.000Z", "max_issues_repo_issues_event_max_datetime": "2021-06-25T15:17:16.000Z", "max_forks_repo_path": "docs/config/services/getMinerrInfo.js", "max_forks_repo_name": "mdavid/angular.js", "max_forks_repo_forks_event_min_datetime": "2016-04-26T08:33:30.000Z", "max_forks_repo_forks_event_max_datetime": "2019-08-29T18:11:54.000Z"}
{"max_stars_count": 13, "max_issues_count": 21, "max_forks_count": 10, "avg_line_length": 24.8125, "max_line_length": 88, "alphanum_fraction": 0.7304785894}
"use strict";

var path = require('canonical-path');

/**
 * @dgService minErrInfo
 * @description
 * Load the error information that was generated during the AngularJS build.
 */
module.exports = function getMinerrInfo(readFilesProcessor) {
  return function() {
    var minerrInfoPath = path.resolve(readFilesProcessor.basePath, 'build/errors.json');
    return require(minerrInfoPath);
  };
};
