Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bba711f

Browse files
committed
Remove extra newline on error() call
1 parent 477c116 commit bba711f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit/commands/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def run(runner, args, environ=os.environ):
229229
if _has_unstaged_config(runner) and not no_stash:
230230
logger.error(
231231
'Your .pre-commit-config.yaml is unstaged.\n'
232-
'`git add .pre-commit-config.yaml` to fix this.\n',
232+
'`git add .pre-commit-config.yaml` to fix this.',
233233
)
234234
return 1
235235

0 commit comments

Comments
 (0)