mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-22 19:23:38 +08:00
* update package with new services and computeId config * generateIndexPagesProcessor was not using log * use StringMap not ES6-shim Map in errorNamespaceMap * remove unused dependencies from generateErrorDocsProcessor * ensure generatePagesDataProcessor adds its doc to the collection * debugDumpProcessor was moved to dgeni-packages
16 lines
397 B
JavaScript
16 lines
397 B
JavaScript
"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);
|
|
};
|
|
};
|