feat: improve doctor update flow

This commit is contained in:
Peter Steinberger committed 2026-01-21 05:23:37 +00:00
1 parent 810374d648
commit 6180603ef4
4 files changed
+49 -15

No files matched your search

+4
View File
@@ -454,6 +454,10 @@ export function registerPluginsCli(program: Command) {
const targets = opts.all ? Object.keys(installs) : id ? [id] : [];
if (targets.length === 0) {
if (opts.all) {
defaultRuntime.log("No npm-installed plugins to update.");
return;
}
defaultRuntime.error("Provide a plugin id or use --all.");
process.exit(1);
}