koki-develop/qiita-cli

View on GitHub
internal/util/markdown.go

Summary

Maintainability
A
45 mins
Test Coverage

Function WriteMarkdown has 7 return statements (exceeds 4 allowed).
Open

func WriteMarkdown(w io.Writer, md string, frontMatter interface{}) error {
    y, err := yaml.Marshal(frontMatter)
    if err != nil {
        return err
    }
Severity: Major
Found in internal/util/markdown.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status