style: format update-cli
parent
d029eaa0bb
commit
eecb340f64
|
|
@ -247,9 +247,7 @@ export async function updateCommand(opts: UpdateCommandOptions): Promise<void> {
|
|||
}
|
||||
if (opts.channel && !configSnapshot.valid) {
|
||||
const issues = configSnapshot.issues.map((issue) => `- ${issue.path}: ${issue.message}`);
|
||||
defaultRuntime.error(
|
||||
["Config is invalid; cannot set update channel.", ...issues].join("\n"),
|
||||
);
|
||||
defaultRuntime.error(["Config is invalid; cannot set update channel.", ...issues].join("\n"));
|
||||
defaultRuntime.exit(1);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue