const log = (...args) => { if (logType < LOG_TYPES.NORMAL) return; console.log(logTime(), process.pid, chalk.bold.green('[INFO]'), ...args); }
/* eslint-disable array-callback-return */ rankings.trainers.map((trainer, index) => { const { name, pokedex } = trainer const id = user.uid.slice(-4) if (name === user.name) { console.log( `${chalk.bold.green('⇢')} ${index + 1}. ${name} — ${pokedex} Pokémon ${chalk.gray('(#' + id + ')')}` ) } else { console.log( `⇢ ${index + 1}. ${name} — ${pokedex} Pokémon ${chalk.gray( '(#' + id + ')' )}` ) } })
console.log(paddedName, chalk.magenta(replaceCwd(task))); } else if (tof === "Array") { console.log(paddedName, chalk.green(`${stringifyTask(task)}`)); } else if (tof === "Object") { if (!task.desc) { const spacePad = new Array(maxNameLen + 4).join(" "); if (task.task) { console.log(chalk.dim.green(`${spacePad} tasks: ${stringifyTask(task.task)}`));
this.log(`${chalk.inverse.green(' No changes ')}! Using same layer arn: ${this.logArn(currentLayerARN)}`); this.relateLayerWithFunctions(currentLayerARN); return;
(options.verbose) ? console.log(chalk.bold.green(`🕵 INFO: Searching for "${options.findParam}" in "${options.user}'s" starred catalogue`)) : null; validate_parameters(options); let cache = flatCache.load(`${cacheHash}`, path.resolve(options.cacheDir)); if (cache._persisted.data === undefined || Object.keys(cache._persisted).length == 0) { (options.verbose) ? console.log(chalk.bold.green('✅ INFO:: Cache is empty, fetching data from GitHub')) : null; return fetch_starred_repos(options, pages) .then((data) => {
this.log("".concat(chalk.inverse.green(' No changes '), "! Using same layer arn: ").concat(this.logArn(currentLayerARN))); this.relateLayerWithFunctions(currentLayerARN); return _context5.abrupt("return");