Loading cli/nodeinfo.ts +2 −3 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ import * as colors from "@std/fmt/colors"; import { isICO, parseICO } from "icojs"; import { defaultFormats, defaultPlugins, intToRGBA } from "jimp"; import ora from "ora"; import { formatObjectForOutput } from "./mod.ts"; import { printJson } from "./utils.ts"; const logger = getLogger(["fedify", "cli", "nodeinfo"]); Loading Loading @@ -212,9 +213,7 @@ export const command = new Command() for (const [key, value] of Object.entries(nodeInfo.metadata)) { layout[next()] += ` ${colors.dim(key + ":")} ${ indent( typeof value === "string" ? value : Deno.inspect(value, { colors: true }), typeof value === "string" ? value : formatObjectForOutput(value), defaultWidth + 4 + key.length, ) }`; Loading Loading
cli/nodeinfo.ts +2 −3 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ import * as colors from "@std/fmt/colors"; import { isICO, parseICO } from "icojs"; import { defaultFormats, defaultPlugins, intToRGBA } from "jimp"; import ora from "ora"; import { formatObjectForOutput } from "./mod.ts"; import { printJson } from "./utils.ts"; const logger = getLogger(["fedify", "cli", "nodeinfo"]); Loading Loading @@ -212,9 +213,7 @@ export const command = new Command() for (const [key, value] of Object.entries(nodeInfo.metadata)) { layout[next()] += ` ${colors.dim(key + ":")} ${ indent( typeof value === "string" ? value : Deno.inspect(value, { colors: true }), typeof value === "string" ? value : formatObjectForOutput(value), defaultWidth + 4 + key.length, ) }`; Loading