mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 04:50:20 -06:00
Remove extra newline on error() call
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user