Skip to content

Commit 23adfc9

Browse files
committed
chore: add total message
1 parent 929809f commit 23adfc9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24993,7 +24993,9 @@ async function scanForDependencySize(messages, threshold, currentDeps, baseDeps,
2499324993

2499424994
${alert}| \u{1F4E6} Package | \u{1F4CF} Size |
2499524995
| --- | --- |
24996-
${packageRows}`
24996+
${packageRows}
24997+
24998+
**Total size change:** ${formatBytes(sizeData.totalSize)}`
2499724999
);
2499825000
}
2499925001
} catch (err) {

src/checks/dependency-size.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ export async function scanForDependencySize(
135135
136136
${alert}| 📦 Package | 📏 Size |
137137
| --- | --- |
138-
${packageRows}`
138+
${packageRows}
139+
140+
**Total size change:** ${formatBytes(sizeData.totalSize)}`
139141
);
140142
}
141143
} catch (err) {

0 commit comments

Comments
 (0)