fix(plugins/core): display getters in util.inspect

This commit is contained in:
lowlighter
2022-02-08 19:22:06 -05:00
parent d894957730
commit 8e1ba0cb09

View File

@@ -69,7 +69,7 @@ export default async function({login, q}, {conf, data, rest, graphql, plugins, q
} }
finally { finally {
const result = {name, result:data.plugins[name]} const result = {name, result:data.plugins[name]}
console.debug(imports.util.inspect(result, {depth:Infinity, maxStringLength:256})) console.debug(imports.util.inspect(result, {depth:Infinity, maxStringLength:256, getters:true}))
return result return result
} }
})()) })())