lib/utils/displaylog.js
Function displayLog
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function displayLog( packageName, logs, options ) {
const infoLogs = logs.info.filter( l => l.length ).join( '\n' ).trim();
const errorLogs = logs.error.filter( l => l.length ).join( '\n' ).trim();
const progressPercentage = Math.round( ( options.current / options.all ) * 100 );