@orkestrel/scaffold 0.0.53 → 0.0.54

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/main.js CHANGED
@@ -871,7 +871,7 @@ var CLI = class CLI {
871
871
  const releases = this.#catalogReleases([...writable.runtime, ...writable.development], fetched.entries);
872
872
  const pins = this.#pin(releases, writable);
873
873
  this.#assertFetched(fetched.entries, fetched.mirrors);
874
- const guides = fetched.mirrors.length === 0 ? void 0 : fetched.mirrors.some((mirror) => mirror.lookup === "failed") ? "floor" : "live";
874
+ const guides = fetched.mirrors.length === 0 ? void 0 : fetched.mirrors.some((mirror) => mirror.lookup !== "found") ? "floor" : "live";
875
875
  const materializer = new Materializer({ host: host ?? readHostFloor() });
876
876
  let result;
877
877
  try {
@@ -1197,7 +1197,7 @@ var CLI = class CLI {
1197
1197
  });
1198
1198
  }
1199
1199
  #assertFetched(entries, mirrors) {
1200
- const failed = [...entries.filter((entry) => entry.lookup !== "found").map((entry) => entry.name), ...mirrors.filter((mirror) => mirror.lookup !== "found" && mirror.lookup !== "failed").map((mirror) => mirror.name)];
1200
+ const failed = [...entries.filter((entry) => entry.lookup !== "found").map((entry) => entry.name), ...mirrors.filter((mirror) => mirror.lookup !== "found" && mirror.lookup !== "failed" && mirror.lookup !== "missing").map((mirror) => mirror.name)];
1201
1201
  if (failed.length === 0) return;
1202
1202
  throw new ScaffoldError("FETCH", `Upstream produced no complete catalog answer for ${failed.join(", ")}.`, { names: failed.length });
1203
1203
  }