diff options
author | Yarden Shoham <hrsi88@gmail.com> | 2022-10-22 10:25:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 15:25:34 +0800 |
commit | 2c77d4b19505f8eede4d2cb5d415f6440d6cffc2 (patch) | |
tree | b811af87b4853d262f4962e4e6d9ad8708d926c8 /modules | |
parent | cd33979f5a683fd91bd79225e300e41173335926 (diff) | |
download | gitea-2c77d4b19505f8eede4d2cb5d415f6440d6cffc2.tar.gz gitea-2c77d4b19505f8eede4d2cb5d415f6440d6cffc2.zip |
Remove unnecessary debug log (#21536)
It distractingly shows up on unit tests
* Looks like a leftover from #20571
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/markup/markdown/meta.go | 4 |
1 files changed, 0 insertions, 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 } |