fix: address update cli type import
This commit is contained in:
1 parent
5dcd48544a
commit
32edaad823
2 files changed
+1
-5
No files matched your search
@@ -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