diff --git a/dist/index.js b/dist/index.js index d76b5906..91143d9b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -32598,7 +32598,9 @@ async function run() { const { ok, done, logs } = report; for (const { severity, message, resource } of logs) { (0, import_core3.info)(colorize(severity, message)); - resource && (0, import_core3.info)(JSON.stringify(resource, null, 2)); + if (severity != "info" && resource) { + (0, import_core3.info)(JSON.stringify(resource, null, 2)); + } } if (done) { shouldStop = true; diff --git a/src/main.ts b/src/main.ts index 6adeb776..107e80fc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -110,7 +110,9 @@ async function run(): Promise { for (const { severity, message, resource } of logs) { info(colorize(severity, message)); - resource && info(JSON.stringify(resource, null, 2)); + if ((severity != 'info') && resource) { + info(JSON.stringify(resource, null, 2)); + } } if (done) {