We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84060a6 commit 7c78de3Copy full SHA for 7c78de3
scripts/src/fetchFollowers.js
@@ -42,7 +42,7 @@ async function main() {
42
let readme = readFileSync(READMEFILE_PATH, "utf-8");
43
44
readme = readme.replace(
45
- /(?<=<!--START_SECTION:top-followers-heading-->\n### :sparkles: \[My followers \()(\d+)(?=\)\])/,
+ /(?<=<!--START_SECTION:top-followers-heading-->\n)[\s\S]*(?=\n<!--End_SECTION:top-followers-heading-->)/,
46
`${followersLength}`
47
);
48
@@ -58,10 +58,6 @@ async function main() {
58
`</div>`
59
60
61
-
62
63
- // Update the followers count
64
65
66
writeFileSync(READMEFILE_PATH, readme);
67
}
0 commit comments