mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-02 09:00:34 +08:00
As of commit 11c5bb7, the gruntUtils import is no longer needed in the
gitData docs config service.
Closes #9446
17 lines
348 B
JavaScript
17 lines
348 B
JavaScript
"use strict";
|
|
|
|
var versionInfo = require('../../../lib/versions/version-info');
|
|
|
|
/**
|
|
* @dgService gitData
|
|
* @description
|
|
* Information from the local git repository
|
|
*/
|
|
module.exports = function gitData() {
|
|
return {
|
|
version: versionInfo.currentVersion,
|
|
versions: versionInfo.previousVersions,
|
|
info: versionInfo.gitRepoInfo
|
|
};
|
|
};
|