From 2c77d4b19505f8eede4d2cb5d415f6440d6cffc2 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Sat, 22 Oct 2022 10:25:34 +0300 Subject: [PATCH] Remove unnecessary debug log (#21536) It distractingly shows up on unit tests * Looks like a leftover from #20571 Signed-off-by: Yarden Shoham Co-authored-by: Lunny Xiao --- 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 45d79d537a..fb37236d77 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 }