@feigi/fleet-ctl 3.49.2 → 3.49.3
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/package.json +1 -1
- package/scripts/pr-cost.mjs +2 -2
package/package.json
CHANGED
package/scripts/pr-cost.mjs
CHANGED
|
@@ -117,9 +117,9 @@ export function parseFeatures(text) {
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
const EXCLUDED_MEMBER = /^(?:merge-?bot|memory$|__advisor$)/i;
|
|
120
|
+
export const EXCLUDED_MEMBER = /^(?:merge-?bot|memory$|__advisor$)/i;
|
|
121
121
|
// omp nests a member's id as `<parent>/<parent>.<child>`: the child is the last segment after either separator.
|
|
122
|
-
const lastSegment = (agent) => String(agent).split(/[/.]/).at(-1);
|
|
122
|
+
export const lastSegment = (agent) => String(agent).split(/[/.]/).at(-1);
|
|
123
123
|
const usd = (r) => (r.cost === "" || r.cost === undefined ? 0 : Number(r.cost));
|
|
124
124
|
const isMerged = (pr) => pr?.state === "MERGED";
|
|
125
125
|
const failed = (tier) => tier.minted_false_claim === "yes" || tier.closed_own_ticket === "no";
|