Skip to content

Commit f4627ed

Browse files
committed
refactor: drop unused getPackageManagerChoicesForMeow helper
Bugbot caught this: the helper was exported but never imported. cmd-fix.mts spreads ALL_PACKAGE_MANAGERS directly when building the validation error message, so the helper added no value.
1 parent 0d46020 commit f4627ed

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/utils/package-manager.mts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ export type PackageManager = (typeof ALL_PACKAGE_MANAGERS)[number]
2929

3030
const ALL_PACKAGE_MANAGERS_SET = new Set<string>(ALL_PACKAGE_MANAGERS)
3131

32-
export function getPackageManagerChoicesForMeow(): string[] {
33-
return [...ALL_PACKAGE_MANAGERS]
34-
}
35-
3632
export function isValidPackageManager(value: string): value is PackageManager {
3733
return ALL_PACKAGE_MANAGERS_SET.has(value)
3834
}

0 commit comments

Comments
 (0)