Showing 2 of 2 total issues
Function HeatShield
has 137 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
HeatShield = () => {
(function () {
const eventEmitter = new EventEmitter();
if (!shell.which('npm')) {
shell.echo('Sorry, this script requires npm');
Function fn
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const fn = (stdout1) => {
let filePath = path.join(__dirname, R.concat(R.concat('../logs/', R.toString(Date.now())), '-log.txt')),
writeableStream = fs.createWriteStream(filePath),
readableStream = fs.createReadStream(filePath, {encoding: 'utf8'}),
text = stdout1.toString(),