fix: address update cli type import
This commit is contained in:
@@ -30,11 +30,6 @@ function buildRows(entries: Array<{ id: string; name?: string | undefined }>) {
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
function formatEntry(entry: { id: string; name?: string | undefined }) {
|
|
||||||
const name = entry.name?.trim();
|
|
||||||
return name ? `${entry.id} ${theme.muted(name)}` : entry.id;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function registerDirectoryCli(program: Command) {
|
export function registerDirectoryCli(program: Command) {
|
||||||
const directory = program
|
const directory = program
|
||||||
.command("directory")
|
.command("directory")
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import {
|
|||||||
type UpdateRunResult,
|
type UpdateRunResult,
|
||||||
type UpdateStepInfo,
|
type UpdateStepInfo,
|
||||||
type UpdateStepProgress,
|
type UpdateStepProgress,
|
||||||
|
type UpdateStepResult,
|
||||||
} from "../infra/update-runner.js";
|
} from "../infra/update-runner.js";
|
||||||
import {
|
import {
|
||||||
detectGlobalInstallManagerByPresence,
|
detectGlobalInstallManagerByPresence,
|
||||||
|
|||||||
Reference in New Issue
Block a user