In order to produce output that does not confuse syntax highlighters that recognise diff-formatted output, it is decided here to replace the "-" character (which would often cause a diff highlighter to colour the line as red) instead with "~" which would tend to be ignored by diff highlighters.
Showing GitHub's rendering of before- and after- output:
Before:
(Note that lines are highlighted in red that should not be.)
*****************************************************************************************
--> Difference detected for stack flink-prod!
-----------------------------------------------------------------------------------------
Config difference for flink-prod:
--- deployed
+++ generated
@@ -7,4 +7,4 @@
Project: Datalake
SourceControlPath: fsa/sceptre-environment/prod/datalake-prod
Team: DevOps
- Version: 7.0.0
+ Version: 8.0.0
-----------------------------------------------------------------------------------------
No template difference
*****************************************************************************************
--> Difference detected for stack flink-prod!
-----------------------------------------------------------------------------------------
Config difference for flink-prod:
After:
*****************************************************************************************
==> Difference detected for stack flink-prod!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Config difference for flink-prod:
--- deployed
+++ generated
@@ -7,4 +7,4 @@
Project: Datalake
SourceControlPath: fsa/sceptre-environment/prod/datalake-prod
Team: DevOps
- Version: 7.0.0
+ Version: 8.0.0
*****************************************************************************************
No template difference
*****************************************************************************************
==> Difference detected for stack flink-prod!
*****************************************************************************************
Config difference for flink-prod:
PR Checklist
[x] Wrote a good commit message & description [see guide below].
[x] Commit message starts with [Resolve #issue-number].
In order to produce output that does not confuse syntax highlighters that recognise diff-formatted output, it is decided here to replace the "-" character (which would often cause a diff highlighter to colour the line as red) instead with "~" which would tend to be ignored by diff highlighters.
Showing GitHub's rendering of before- and after- output:
Before:
(Note that lines are highlighted in red that should not be.)
After:
PR Checklist
[Resolve #issue-number]
.poetry run tox
) are passing.poetry run pre-commit run --all-files
).Approver/Reviewer Checklist
Other Information
Guide to writing a good commit