@arjunkhera/atlas 0.4.39 → 0.4.40
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/door/lib/gate-check.mjs
CHANGED
|
@@ -455,7 +455,7 @@ function brakeRows(state, undo, named = null) {
|
|
|
455
455
|
const until = new Date(Date.parse(newest.time) + state.days * 864e5).toISOString();
|
|
456
456
|
const owner = { kind: 'owner', class: 'brake', cause: `the brake is on until ${until.slice(0, 16).replace('T', ' ')} UTC: ${tripText(newest)}${more}` };
|
|
457
457
|
// Done line 6: one signed clear for each trip, as a comment on its commit.
|
|
458
|
-
const clear = (holding.length ? holding : [newest]).map((trip) => ({ kind: 'note', class: 'brake', cause: `to end the trip now: atlas approve act brake-clear --repo <owner/repo> --commit ${trip.sha}, then post the block as a comment on commit ${trip.sha.slice(0, 7)}` }));
|
|
458
|
+
const clear = (holding.length ? holding : [newest]).map((trip) => ({ kind: 'note', class: 'brake', cause: `to end the trip now: atlas approve act brake-clear --repo <owner/repo> --commit ${trip.sha}, then post the block as a comment on commit ${trip.sha.slice(0, 7)} and run the atlas-brake-clear workflow` }));
|
|
459
459
|
return [owner, ...clear];
|
|
460
460
|
}
|
|
461
461
|
|
package/package.json
CHANGED