lib/common/constants.js
Function constantsFactory
has 325 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function constantsFactory (path) {
var constants = Object.freeze({
WorkingDirectory: process.cwd(),
Name: process.cwd().split(path.sep).reverse()[0],
Host: require('os').hostname().split(/\./)[0],
File constants.js
has 333 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Copyright © 2015-2017 Dell Inc. or its subsidiaries. All Rights Reserved.
'use strict';
module.exports = constantsFactory;