Skip to content

Commit

Permalink
feat: switch from notice to plain info for size logging
Browse files Browse the repository at this point in the history
Notices are too intrusive and clutter up the summary from genuinely useful messages.
  • Loading branch information
BD103 committed Nov 1, 2024
1 parent 6124a9a commit 47185bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dist/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27678,9 +27678,7 @@ function main() {
// Await all operations, then sum their returned sizes.
const bytesDeleted = (yield Promise.all(operationHandles))
.reduce((acc, size) => acc + size, 0);
core.notice(`${bytesToHuman(bytesDeleted)} of unused build artifacts have been cleaned.`, {
title: "`cargo-sweep` Results",
});
core.info(`${bytesToHuman(bytesDeleted)} of unused build artifacts have been cleaned.`);
});
}
try {
Expand Down
4 changes: 1 addition & 3 deletions src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ async function main() {
const bytesDeleted = (await Promise.all(operationHandles))
.reduce((acc, size) => acc + size, 0);

core.notice(`${bytesToHuman(bytesDeleted)} of unused build artifacts have been cleaned.`, {
title: "`cargo-sweep` Results",
});
core.info(`${bytesToHuman(bytesDeleted)} of unused build artifacts have been cleaned.`);
}

try {
Expand Down

0 comments on commit 47185bd

Please sign in to comment.