From ea58af59271c34d425dbe858acad28e342cf0ec4 Mon Sep 17 00:00:00 2001 From: igorlombacx Date: Tue, 26 Sep 2023 10:09:32 +0100 Subject: [PATCH] fixing SummaryMarkdownPendingTemplate --- go.mod | 2 +- go.sum | 2 ++ internal/wrappers/results-summary.go | 7 ++++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index abe69bcd4..bfc1481ca 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/MakeNowJust/heredoc v1.0.0 github.com/checkmarxDev/gpt-wrapper v0.0.0-20230721160222-85da2fd1cc4c github.com/golang-jwt/jwt v3.2.2+incompatible - github.com/gomarkdown/markdown v0.0.0-20230916125811-7478c230c7cd + github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 github.com/google/uuid v1.3.1 github.com/gookit/color v1.5.4 diff --git a/go.sum b/go.sum index 28b8e4578..96abdd6ec 100644 --- a/go.sum +++ b/go.sum @@ -96,6 +96,8 @@ github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/gomarkdown/markdown v0.0.0-20230916125811-7478c230c7cd h1:laCEzrtkKEkT2424vMTGl6N1m0xN8kq371hksD5Be+8= github.com/gomarkdown/markdown v0.0.0-20230916125811-7478c230c7cd/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA= +github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386 h1:EcQR3gusLHN46TAD+G+EbaaqJArt5vHhNpXAa12PQf4= +github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= diff --git a/internal/wrappers/results-summary.go b/internal/wrappers/results-summary.go index d399e13a5..f5765e6b6 100644 --- a/internal/wrappers/results-summary.go +++ b/internal/wrappers/results-summary.go @@ -644,10 +644,11 @@ const summaryTemplateFooter = ` // nolint: lll const SummaryMarkdownPendingTemplate = ` -{{- /* The '-' symbol at the start of the line is used to strip leading white space */ -}} -{{- /* ResultSummary template */ -}} +# Checkmarx One Scan Summary +*** ##### {{.ScanInfoMessage}} -{{end}} +##### [🔗 More details]({{.BaseURI}}) +*** ` // nolint: lll