From 8b1cfe995f25f23000a829c63f0245496af00d08 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Fri, 21 Oct 2022 18:18:41 +0000 Subject: [PATCH] Remove unnecessary debug log It distractingly shows up on unit tests * Looks like a leftover from #20571 Signed-off-by: Yarden Shoham --- modules/markup/markdown/meta.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/markup/markdown/meta.go b/modules/markup/markdown/meta.go index 45d79d537a737..fb37236d77eb3 100644 --- a/modules/markup/markdown/meta.go +++ b/modules/markup/markdown/meta.go @@ -10,8 +10,6 @@ import ( "unicode" "unicode/utf8" - "code.gitea.io/gitea/modules/log" - "gopkg.in/yaml.v3" ) @@ -99,8 +97,6 @@ func ExtractMetadataBytes(contents []byte, out interface{}) ([]byte, error) { return contents, errors.New("could not determine metadata") } - log.Info("%s", string(front)) - if err := yaml.Unmarshal(front, out); err != nil { return contents, err }