sf snapshot: uncommitted changes after 158m inactivity
This commit is contained in:
parent
6e0273573c
commit
343ee5c89e
1 changed files with 2 additions and 1 deletions
|
|
@ -777,11 +777,12 @@ async function runHeadlessOnce(
|
|||
// suite) get the same diagnostic without a TTY.
|
||||
if (options.command === "doctor") {
|
||||
const wantsJson = options.json || options.commandArgs.includes("--json");
|
||||
const wantsFix = options.commandArgs.includes("--fix");
|
||||
const { runSFDoctor, formatDoctorReport, formatDoctorReportJson } =
|
||||
await import("./resources/extensions/sf/doctor.js");
|
||||
let exitCode = 1;
|
||||
try {
|
||||
const report = await runSFDoctor(process.cwd());
|
||||
const report = await runSFDoctor(process.cwd(), { fix: wantsFix });
|
||||
const out = wantsJson
|
||||
? formatDoctorReportJson(report)
|
||||
: formatDoctorReport(report);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue