@staff0rd/assist 0.832.0 → 0.833.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
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.833.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -3318,7 +3318,8 @@ function toPreviewDecision(msg) {
|
|
|
3318
3318
|
autoMerge: msg.autoMerge === true,
|
|
3319
3319
|
autostart: msg.autostart === true,
|
|
3320
3320
|
selection: toSelection(msg.selection),
|
|
3321
|
-
checklist: toChecklist(msg.checklist)
|
|
3321
|
+
checklist: toChecklist(msg.checklist),
|
|
3322
|
+
dismissed: msg.dismissed === true
|
|
3322
3323
|
};
|
|
3323
3324
|
}
|
|
3324
3325
|
|
|
@@ -36100,6 +36101,10 @@ async function openHighLevelOverlay(sessionId, subject) {
|
|
|
36100
36101
|
},
|
|
36101
36102
|
{ rejectIsOutcome: true }
|
|
36102
36103
|
);
|
|
36104
|
+
if (decision.dismissed) {
|
|
36105
|
+
console.log("Review closed without a verdict. Nothing was saved.");
|
|
36106
|
+
return void 0;
|
|
36107
|
+
}
|
|
36103
36108
|
const record = buildHighLevelRecord(subject, decision);
|
|
36104
36109
|
const path109 = saveHighLevelReview(record);
|
|
36105
36110
|
console.log(`Verdict: ${record.verdict}`);
|
|
@@ -44945,7 +44950,8 @@ function decidePrPreview(sessions, waiters, notify2, d) {
|
|
|
44945
44950
|
draft: d.draft,
|
|
44946
44951
|
autoMerge: d.autoMerge,
|
|
44947
44952
|
autostart: d.autostart,
|
|
44948
|
-
checklist: d.checklist
|
|
44953
|
+
checklist: d.checklist,
|
|
44954
|
+
dismissed: d.dismissed
|
|
44949
44955
|
});
|
|
44950
44956
|
waiters.delete(id);
|
|
44951
44957
|
session.pendingPrPreview = void 0;
|