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) {
|
||||
const directory = program
|
||||
.command("directory")
|
||||
|
||||
@@ -18,6 +18,7 @@ import {
|
||||
type UpdateRunResult,
|
||||
type UpdateStepInfo,
|
||||
type UpdateStepProgress,
|
||||
type UpdateStepResult,
|
||||
} from "../infra/update-runner.js";
|
||||
import {
|
||||
detectGlobalInstallManagerByPresence,
|
||||
|
||||
Reference in New Issue
Block a user