Skip to content

Commit 5b3d7a3

Browse files
committed
ci: remove packages/ dir from size parsing script
1 parent fa5d5e6 commit 5b3d7a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/parse-sizes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ export function generateSizeComment(packages: string[], statsDir = process.cwd()
108108
let commentBody = '## 📦 Bundle Size Comparison\n\n'
109109

110110
for (const pkg of packages) {
111-
const headPath = `${statsDir}/head-stats/packages/${pkg}/stats.json`
112-
const basePath = `${statsDir}/base-stats/packages/${pkg}/stats.json`
111+
const headPath = `${statsDir}/head-stats/${pkg}/stats.json`
112+
const basePath = `${statsDir}/base-stats/${pkg}/stats.json`
113113

114114
const comparison = comparePackage(pkg, headPath, basePath)
115115

0 commit comments

Comments
 (0)