src/index.js
function printHostnames() {
  console.log(chalk.yellow.bold(`${indent(2)} Hostnames requested: `));

  if (Object.keys(hostnames).length === 0) {
    console.log(chalk.yellow(`${indent(4)}none`));
    return;
  }

  for (const key in hostnames) {
    if (!hostnames[key]) return;
    console.log(chalk.yellow(`${indent(4)}${key}: ${hostnames[key]}`));
  }
}
function printHostnames() {
  console.log(chalk.yellow.bold(`${indent(2)} Hostnames requested: `));

  if (Object.keys(hostnames).length === 0) {
    console.log(chalk.yellow(`${indent(4)}none`));
    return;
  }

  for (const key in hostnames) {
    if (!hostnames[key]) return;
    console.log(chalk.yellow(`${indent(4)}${key}: ${hostnames[key]}`));
  }
}
function printHostnames ( ) { console . log ( chalk . yellow . bold ( ` ${ indent ( 2 ) } ` ) ) ; if ( Object . keys ( hostnames ) . length === 0 ) { console . log ( chalk . yellow ( ` ${ indent ( 4 ) } ` ) ) ; return ; } for ( const key in hostnames ) { if ( ! hostnames [ key ] ) return ; console . log ( chalk . yellow ( ` ${ indent ( 4 ) } ${ key } ${ hostnames [ key ] } ` ) ) ; } }
Print requested hostnames summary.
Print requested hostnames summary .