Stop ignoring console errors

This commit is contained in:
William Oldham
2024-03-19 17:17:42 +00:00
parent 83e18900a9
commit 3d5ce44aa3
3 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
import { inspect } from 'node:util';
export function logDeepObject(object: Record<any, any>) {
// This is the dev cli, so we can use console.log
// eslint-disable-next-line no-console
console.log(inspect(object, { showHidden: false, depth: null, colors: true }));
}