Showing 3 of 3 total issues
Function exports
has 120 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
var http = require('http')
var path = require('path')
var fs = require('fs')
Function exports
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
var nodeBinary = 'node'
try {
require('fs').realpathSync('/usr/bin/node')
}
Function runProtractor
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runProtractor(protractorLibPath) {
var protractorArgs = []
Object.keys(options).forEach(function(key) {
if (!simpleProtractorOpts.some(function(opt) { return opt === key })) {
if (typeof options[key] === 'boolean' && options[key] === true) {