@sir_yami/reviewd-core 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -3
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5236,9 +5236,10 @@ function buildFeedback(input) {
|
|
|
5236
5236
|
const openComments = activeComments.filter(
|
|
5237
5237
|
(comment) => comment.author.kind === "human" && comment.state === "open"
|
|
5238
5238
|
);
|
|
5239
|
-
const
|
|
5239
|
+
const resolvedComments = activeComments.filter(
|
|
5240
5240
|
(comment) => comment.author.kind === "human" && comment.state === "resolved"
|
|
5241
5241
|
);
|
|
5242
|
+
const resolved = input.includeResolved === false ? [] : resolvedComments;
|
|
5242
5243
|
const reportFindings = report?.findings ?? [];
|
|
5243
5244
|
const decisions = /* @__PURE__ */ new Map();
|
|
5244
5245
|
for (const finding of reportFindings) {
|
|
@@ -5345,7 +5346,7 @@ function buildFeedback(input) {
|
|
|
5345
5346
|
(question) => `- [${question.id}] ${question.question} \u2014 ${question.why}`
|
|
5346
5347
|
)
|
|
5347
5348
|
);
|
|
5348
|
-
if (resolved.length > 0
|
|
5349
|
+
if (resolved.length > 0) {
|
|
5349
5350
|
section(
|
|
5350
5351
|
lines,
|
|
5351
5352
|
"\u0423\u0436\u0435 \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E \u0432 \u044D\u0442\u043E\u043C \u0440\u0430\u0443\u043D\u0434\u0435",
|
|
@@ -6428,7 +6429,7 @@ var ReviewServiceImpl = class {
|
|
|
6428
6429
|
};
|
|
6429
6430
|
|
|
6430
6431
|
// packages/core/src/index.ts
|
|
6431
|
-
var CORE_VERSION = "0.
|
|
6432
|
+
var CORE_VERSION = "0.3.0";
|
|
6432
6433
|
export {
|
|
6433
6434
|
AnchorError,
|
|
6434
6435
|
CORE_VERSION,
|