fix(app/actions): option name display wider than supported

This commit is contained in:
lowlighter
2022-01-18 12:43:48 -05:00
parent 0d25bf7689
commit 81acbe19eb

View File

@@ -18,7 +18,7 @@ let DEBUG = true
const debugged = [] const debugged = []
//Info logger //Info logger
const info = (left, right, {token = false} = {}) => console.log(`${`${left}`.padEnd(56 + 9 * (/0m$/.test(left)))}${ const info = (left, right, {token = false} = {}) => console.log(`${`${left}`.padEnd(63 + 9 * (/0m$/.test(left)))}${
Array.isArray(right) Array.isArray(right)
? right.join(", ") || "(none)" ? right.join(", ") || "(none)"
: right === undefined : right === undefined