Skip to content

Commit a71bc9f

Browse files
feat: remove issueCounter from stats sanitization
1 parent e1a467b commit a71bc9f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

fixtures/golden/stats.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"issueCounter": 12345,
32
"lastUpdate": "1970-01-01T00:00:00.000Z",
43
"maintainer": {
54
"0lek": 1,

scripts/golden-artifacts/sanitizers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export function sanitizeStats (data) {
8787
if (Object.hasOwn(sanitized, "lastUpdate")) {
8888
sanitized.lastUpdate = PLACEHOLDER_TIMESTAMP;
8989
}
90+
delete sanitized.issueCounter;
9091
return sanitized;
9192
}
9293

0 commit comments

Comments
 (0)