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