Remove extra newline on error() call

This commit is contained in:
Anthony Sottile
2017-08-23 14:20:33 -07:00
parent 477c1163b7
commit bba711f468

View File

@@ -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