Skip to content

Commit b2b6985

Browse files
committed
upsate
1 parent a5ad13f commit b2b6985

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

packages/cli/index.ts

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -519,23 +519,9 @@ const main = defineCommand({
519519

520520
const debug = laterRes.debug;
521521

522-
// Test if debug data exists
523-
console.log("DEBUG DATA EXISTS:", !!debug);
524-
console.log("DEBUG DATA:", debug);
525-
526-
if (debug) {
527-
await core.summary
528-
.addDetails(
529-
"[INFO]",
530-
`\`\`\`json\n${JSON.stringify(debug, null, 2)}\n\`\`\``
531-
)
532-
.write();
533-
} else {
534-
await core.summary
535-
.addHeading("⚠️ No Debug Data")
536-
.addRaw("Backend did not return debug data")
537-
.write();
538-
}
522+
core.startGroup("[INFO]");
523+
core.info(JSON.stringify(debug, null, 2));
524+
core.endGroup();
539525

540526
console.warn("\n");
541527
console.warn("⚡️ Your npm packages are published.\n");

0 commit comments

Comments
 (0)