From 12814e9d34d02254df301672dff391fb15f0b94f Mon Sep 17 00:00:00 2001 From: Juanra GM Date: Wed, 27 Mar 2024 17:05:55 +0100 Subject: [PATCH] fix(cli): allow schema generation --- packages/cli/src/actions/PruneAction.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/actions/PruneAction.ts b/packages/cli/src/actions/PruneAction.ts index 221898c..391eca6 100644 --- a/packages/cli/src/actions/PruneAction.ts +++ b/packages/cli/src/actions/PruneAction.ts @@ -30,11 +30,11 @@ export const pruneActionOptions = { shortFlag: "g", defaults: "packageName,repositoryName", value: (v) => - parseStringList(v, [ + parseStringList<"packageName" | "repositoryName" | "repositoryType">(v, [ "packageName", "repositoryName", "repositoryType", - ] as const), + ]), }, dryRun: { description: "",