From 446ef583f23899d4fd19fa266a95b76d8c7c723b Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Mon, 17 Dec 2018 15:27:18 -0800 Subject: [PATCH] This arg is actually a boolean --- docs/pages/auto-release.md | 2 +- src/cli/args.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pages/auto-release.md b/docs/pages/auto-release.md index dd222f1be..a11fba396 100644 --- a/docs/pages/auto-release.md +++ b/docs/pages/auto-release.md @@ -32,7 +32,7 @@ Options --no-version-prefix Use the version as the tag without the 'v' prefix --jira string Jira base URL --use-version Version number to publish as. Defaults to reading from the package.json. - -s, --slack string Post a message to slack about the release. Make sure the SLACK_TOKEN + -s, --slack Post a message to slack about the release. Make sure the SLACK_TOKEN environment variable is set. Global Options diff --git a/src/cli/args.ts b/src/cli/args.ts index 8efb056ae..7890a203b 100644 --- a/src/cli/args.ts +++ b/src/cli/args.ts @@ -349,7 +349,7 @@ const commands: ICommand[] = [ { name: 'slack', alias: 's', - type: String, + type: Boolean, group: 'main', description: 'Post a message to slack about the release. Make sure the SLACK_TOKEN environment variable is set.'