mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 00:24:47 +04:00
Remove extra newline on error() call
This commit is contained in:
parent
477c1163b7
commit
9a579b580d
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ def run(runner, args, environ=os.environ):
|
|||
if _has_unstaged_config(runner) and not no_stash:
|
||||
logger.error(
|
||||
'Your .pre-commit-config.yaml is unstaged.\n'
|
||||
'`git add .pre-commit-config.yaml` to fix this.\n',
|
||||
'`git add .pre-commit-config.yaml` to fix this.',
|
||||
)
|
||||
return 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue