@sanity/cli 5.0.0-next-major.6 → 5.0.0-next-major.20251210134624

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.
@@ -4027,14 +4027,10 @@ Examples:
4027
4027
  requireProject: !1
4028
4028
  }), { token: token2 } = client2.config();
4029
4029
  if (!token2) throw new Error("No API token found. Please run `sanity login`.");
4030
- const { initDeployedBlueprintConfig } = await import("@sanity/runtime-cli/cores"), { blueprintDoctorCore } = await import("@sanity/runtime-cli/cores/blueprints"), cmdConfig = await initDeployedBlueprintConfig({
4030
+ const { blueprintDoctorCore } = await import("@sanity/runtime-cli/cores/blueprints"), { success, error: error2 } = await blueprintDoctorCore({
4031
4031
  bin: "sanity",
4032
4032
  log: (message) => output.print(message),
4033
- token: token2
4034
- });
4035
- if (!cmdConfig.ok) throw new Error(cmdConfig.error);
4036
- const { success, error: error2 } = await blueprintDoctorCore({
4037
- ...cmdConfig.value,
4033
+ token: token2,
4038
4034
  flags
4039
4035
  });
4040
4036
  if (!success) throw new Error(error2);