From 37ed32bf0578a5c13547591c9c3a4b69c9764b76 Mon Sep 17 00:00:00 2001 From: Miguel Ramos Date: Fri, 19 Jul 2024 23:48:02 +0100 Subject: [PATCH] chore: inspect --- test.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.mjs b/test.mjs index 111c664..3d23aee 100644 --- a/test.mjs +++ b/test.mjs @@ -1,5 +1,5 @@ -export function logging({ github, context, core }) { - const util = require('util'); +import { inspect } from 'node:util'; - console.log(util.inspect({ github, context, core }, { showHidden: false, depth: null, colors: true })) +export function logging({ github, context, core }) { + console.log(inspect({ github, context, core }, { showHidden: false, depth: null, colors: true })) }