Skip to content

Commit 2c77d4b

Browse files
yardenshohamlunny
andauthored
Remove unnecessary debug log (#21536)
It distractingly shows up on unit tests * Looks like a leftover from #20571 Signed-off-by: Yarden Shoham <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent cd33979 commit 2c77d4b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

modules/markup/markdown/meta.go

-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import (
1010
"unicode"
1111
"unicode/utf8"
1212

13-
"code.gitea.io/gitea/modules/log"
14-
1513
"gopkg.in/yaml.v3"
1614
)
1715

@@ -99,8 +97,6 @@ func ExtractMetadataBytes(contents []byte, out interface{}) ([]byte, error) {
9997
return contents, errors.New("could not determine metadata")
10098
}
10199

102-
log.Info("%s", string(front))
103-
104100
if err := yaml.Unmarshal(front, out); err != nil {
105101
return contents, err
106102
}

0 commit comments

Comments
 (0)