Showing 2 of 2 total issues
Function exports
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt){
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
release: {
Function build_base
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function build_base() {
nconf.env('__'); // environment variables
var stage = nconf.get('stage'),
port = (stage && stage != 'local') ? 80 : 3000,
https_port = (stage && stage != 'local') ? 443 : 3443,