tasks/build.js
Function exports
has 209 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
var child_process = require("child_process"),
http = require("http"),
https = require("https"),
build = {},
Function getGitInfo
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getGitInfo(cwd) {
var opts = { cwd: cwd, maxBuffer: 1024 * 1024 },
json = {};
// count the number of commits for our version number