fix: mention CLI flag in git checks hint

PR #2904
Co-authored-by: Zoltan Kochan <z@kochan.io>
This commit is contained in:
Misha KaletskyandZoltan Kochan authored and GitHub committed 2020-10-01 00:47:38 +03:00
1 parent 95ad9cafa2
commit 5351791f68
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@pnpm/plugin-commands-publishing": patch
---
Added more info to the Git check error hint.
@@ -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<PublishRecursiveOpts, 'workspaceDir'> & {