Skip to content

Commit 3898bdd

Browse files
committed
🐛 Remove extra newline from print
We add a newline in format_baseline_for_output So we need to remove the one added by print in main.py
1 parent 0c156bd commit 3898bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: detect_secrets/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def main(argv=None):
4545
if args.import_filename:
4646
_write_to_file(args.import_filename[0], output)
4747
else:
48-
print(output)
48+
print(output, end='')
4949

5050
elif args.action == 'audit':
5151
if not args.diff:

0 commit comments

Comments
 (0)