From bba711f4689be1375e79b7cf624a2a7192671eca Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 23 Aug 2017 14:20:33 -0700 Subject: [PATCH] Remove extra newline on error() call --- pre_commit/commands/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit/commands/run.py b/pre_commit/commands/run.py index 55d2b12f..ac418a78 100644 --- a/pre_commit/commands/run.py +++ b/pre_commit/commands/run.py @@ -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