Skip to content

Commit 39e6046

Browse files
committed
fix: GLOBALGROUP_SIZE
1 parent 5d2060c commit 39e6046

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/file.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -699,9 +699,7 @@ export const updateReadMeMd = async (
699699
)
700700
.replaceAll(
701701
'--GLOBALGROUP_SIZE--',
702-
newConfig
703-
.globalGroups!.reduce((p, c) => p + (c.rules?.length || 0), 0)
704-
.toString(),
702+
newConfig.globalGroups!.length.toString(),
705703
)
706704
.replaceAll('--VERSION--', (newConfig.version || 0).toString());
707705
await fs.writeFile(process.cwd() + '/README.md', readMeMdText);

0 commit comments

Comments
 (0)