From 5351791f6869aef680c64117a6423edcbccbd0fa Mon Sep 17 00:00:00 2001 From: Misha Kaletsky <15040698+mmkal@users.noreply.github.com> Date: Wed, 30 Sep 2020 17:47:38 -0400 Subject: [PATCH] fix: mention CLI flag in git checks hint PR #2904 Co-authored-by: Zoltan Kochan --- .changeset/plenty-socks-boil.md | 5 +++++ packages/plugin-commands-publishing/src/publish.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/plenty-socks-boil.md diff --git a/.changeset/plenty-socks-boil.md b/.changeset/plenty-socks-boil.md new file mode 100644 index 0000000000..545cf14eaa --- /dev/null +++ b/.changeset/plenty-socks-boil.md @@ -0,0 +1,5 @@ +--- +"@pnpm/plugin-commands-publishing": patch +--- + +Added more info to the Git check error hint. diff --git a/packages/plugin-commands-publishing/src/publish.ts b/packages/plugin-commands-publishing/src/publish.ts index 8afeed387a..3746237f7a 100644 --- a/packages/plugin-commands-publishing/src/publish.ts +++ b/packages/plugin-commands-publishing/src/publish.ts @@ -83,7 +83,7 @@ export function help () { }) } -const GIT_CHECKS_HINT = 'If you want to disable Git checks on publish, set the "git-checks" setting to "false".' +const GIT_CHECKS_HINT = 'If you want to disable Git checks on publish, set the "git-checks" setting to "false", or run again with "--no-git-checks".' export async function handler ( opts: Omit & {