bugpatrol 0.4.5 → 0.4.6
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/bin.js +3 -3
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -40638,7 +40638,7 @@ async function runPublisher(root2, config, deps = {}) {
|
|
|
40638
40638
|
const fixes = new Map((await workspace.listFixes()).map((fix) => [fix.issueId, fix]));
|
|
40639
40639
|
const issues = (await workspace.listIssues()).filter((issue) => !deps.issueIds || deps.issueIds.includes(issue.id));
|
|
40640
40640
|
let items = issues.flatMap((issue) => {
|
|
40641
|
-
if (issue.status === "dismissed" || issue.fixRejected)
|
|
40641
|
+
if (issue.status === "dismissed" || issue.status === "fixed" || issue.fixRejected)
|
|
40642
40642
|
return [];
|
|
40643
40643
|
const found = fixes.get(issue.id);
|
|
40644
40644
|
const fix = found?.external ? void 0 : found;
|
|
@@ -40650,7 +40650,7 @@ async function runPublisher(root2, config, deps = {}) {
|
|
|
40650
40650
|
}
|
|
40651
40651
|
if (issue.publishSkipped)
|
|
40652
40652
|
return [];
|
|
40653
|
-
if (!issue.github &&
|
|
40653
|
+
if (!issue.github && rank2[issue.severity] >= rank2[config.agents.github.issueMinSeverity] && (!fix || ["declined", "failed"].includes(fix.status)))
|
|
40654
40654
|
return [{ kind: "issue", issue, fix }];
|
|
40655
40655
|
return [];
|
|
40656
40656
|
});
|
|
@@ -49393,7 +49393,7 @@ legacyEnv(process.env);
|
|
|
49393
49393
|
var root = findProjectRoot(process.cwd());
|
|
49394
49394
|
function version() {
|
|
49395
49395
|
if (true)
|
|
49396
|
-
return "0.4.
|
|
49396
|
+
return "0.4.6";
|
|
49397
49397
|
try {
|
|
49398
49398
|
return JSON.parse(readFileSync12(new URL("../package.json", import.meta.url), "utf8")).version;
|
|
49399
49399
|
} catch {
|