Remove extra newline on error() call

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

View file

@ -229,7 +229,7 @@ def run(runner, args, environ=os.environ):
if _has_unstaged_config(runner) and not no_stash: if _has_unstaged_config(runner) and not no_stash:
logger.error( logger.error(
'Your .pre-commit-config.yaml is unstaged.\n' '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 return 1