mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-17 08:05:25 +02:00
fix: anonymize PR comment authors and bodies in previews
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"core.min.js": "core.6332b3c288.min.js",
|
||||
"vendor.min.js": "vendor.1f3b7f76c7.min.js",
|
||||
"vendor.min.js": "vendor.5e3fc5ef98.min.js",
|
||||
"mermaid.min.js": "mermaid.f848a72d16.min.js",
|
||||
"all.min.css": "all.99ce8f3e14.min.css"
|
||||
}
|
||||
|
||||
@@ -2203,7 +2203,7 @@ angular
|
||||
if (typeof d.body === "string") out.add(d.body);
|
||||
if (typeof d.diff === "string") out.add(d.diff);
|
||||
const comments =
|
||||
($scope.details && $scope.details.comments) || [];
|
||||
d.comments || [];
|
||||
for (const c of comments) {
|
||||
if (typeof c.author === "string") out.add(c.author);
|
||||
if (typeof c.body === "string") out.add(c.body);
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user