From f39c417bbbed0226e5c12812c37fce3a4d671985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Halinen=20Wil=C3=A9n?= Date: Mon, 16 Jan 2023 09:55:03 +0800 Subject: [PATCH] Fixed techdocs-cli package publish CLI command having the gcsBucketRootPath option misconfigured, previously returning a boolean vs a string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Albin Halinen Wilén --- .changeset/quick-ladybugs-reply.md | 1 + packages/techdocs-cli/cli-report.md | 2 +- packages/techdocs-cli/src/commands/index.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.changeset/quick-ladybugs-reply.md b/.changeset/quick-ladybugs-reply.md index 0e4f040b5d..971f6f635b 100644 --- a/.changeset/quick-ladybugs-reply.md +++ b/.changeset/quick-ladybugs-reply.md @@ -3,3 +3,4 @@ --- Fixed publish command missing awsBucketRootPath option. +Fixed publish command having the gcsBucketRootPath option misconfigured, previously returning a boolean vs a string. diff --git a/packages/techdocs-cli/cli-report.md b/packages/techdocs-cli/cli-report.md index b5623b5cef..861dad4605 100644 --- a/packages/techdocs-cli/cli-report.md +++ b/packages/techdocs-cli/cli-report.md @@ -83,7 +83,7 @@ Options: --osSecret --osAuthUrl --osSwiftUrl - --gcsBucketRootPath + --gcsBucketRootPath --directory -h, --help ``` diff --git a/packages/techdocs-cli/src/commands/index.ts b/packages/techdocs-cli/src/commands/index.ts index 894878c6b7..caa7d8efbd 100644 --- a/packages/techdocs-cli/src/commands/index.ts +++ b/packages/techdocs-cli/src/commands/index.ts @@ -194,7 +194,7 @@ export function registerCommands(program: Command) { '(Required for OpenStack) specify when --publisher-type openStackSwift', ) .option( - '--gcsBucketRootPath', + '--gcsBucketRootPath ', 'Optional sub-directory to store files in Google cloud storage', ) .option(