From c90003e41183dbca209f068681433eafe10b9070 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Thu, 11 Apr 2024 18:27:34 -0500 Subject: [PATCH] remove deprecated application id option for publish --- src/commands/publish.ts | 6 ------ src/create-publish.mts | 7 ++----- src/index.ts | 1 - 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/commands/publish.ts b/src/commands/publish.ts index 3e5616f..c78a377 100644 --- a/src/commands/publish.ts +++ b/src/commands/publish.ts @@ -14,8 +14,6 @@ export async function publish(commandDir: string | undefined, args: Partial { const makePublishData = ({ commandModule, config }: Record>) => { const applicationType = intoApplicationType(commandModule.type as number); - console.log(config) return { data: { name: commandModule.name as string, @@ -174,11 +173,9 @@ const makePublishData = ({ commandModule, config }: Record { diff --git a/src/index.ts b/src/index.ts index a5d1781..9bfcc7c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,7 +40,6 @@ program // .option('-W --suppress-warnings', 'suppress experimental warning') .option('-i, --import [scriptPath...]', 'Prerequire a script to load into publisher') .option('-t, --token [token]') - .option('--appId [applicationId]') .argument('[path]', 'path with respect to current working directory that will locate all published files') .action(async (...args) => importDynamic('publish.js').then((m) => m.publish(...args))) ).addCommand(