





















@@ -214,21 +214,6 @@ function withResolvedPnpmCommand(command, env) {
214214return command.replace(/(^|\s)pnpm(?=\s)/g, `$1${shellQuote(pnpmCommand)}`);
215215}
216216217-function timingSeconds(timingStore, poolLane) {
218-const fromStore = timingStore?.lanes?.[poolLane.name]?.durationSeconds;
219-if (typeof fromStore === "number" && Number.isFinite(fromStore) && fromStore > 0) {
220-return fromStore;
221-}
222-return poolLane.estimateSeconds ?? 0;
223-}
224-225-function orderLanes(poolLanes, timingStore) {
226-return poolLanes
227-.map((poolLane, index) => ({ index, poolLane, seconds: timingSeconds(timingStore, poolLane) }))
228-.toSorted((a, b) => b.seconds - a.seconds || a.index - b.index)
229-.map(({ poolLane }) => poolLane);
230-}
231-232217async function loadTimingStore(file, enabled) {
233218if (!enabled) {
234219return { enabled: false, file, lanes: {}, version: 1 };
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。