Skip to content

Commit

Permalink
Remove unnecessary debug log (#21536)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yardenshoham and lunny authored Oct 22, 2022
1 parent cd33979 commit 2c77d4b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/markup/markdown/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"unicode"
"unicode/utf8"

"code.gitea.io/gitea/modules/log"

"gopkg.in/yaml.v3"
)

Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 2c77d4b

Please sign in to comment.