chore: improve wording, typo (#16)
parent
52da6c9b2b
commit
846a150cfd
|
@ -84,7 +84,7 @@ func ParseMarkdown(data string) []markdown.Node {
|
|||
lines := strings.Split(data, string(markdown.NewlineToken))
|
||||
nodes := markdown.Parse(lines)
|
||||
|
||||
// remove title
|
||||
// Remove title
|
||||
if len(nodes) > 0 && markdown.Equal(nodes[0], markdown.NewHeader(firstLevel, title)) {
|
||||
nodes = nodes[1:]
|
||||
}
|
||||
|
|
|
@ -112,7 +112,7 @@ func TestGenerateMarkdown(t *testing.T) {
|
|||
},
|
||||
},
|
||||
scopes: map[string]struct{}{
|
||||
"a": struct{}{},
|
||||
"a": {},
|
||||
},
|
||||
version: "v1.0.0",
|
||||
when: time.Date(2020, 3, 22, 0, 0, 0, 0, time.Local),
|
||||
|
|
|
@ -5,7 +5,7 @@ const (
|
|||
FeatType = "feat"
|
||||
BuildType = "build"
|
||||
ChoreType = "chore"
|
||||
CiType = "ci"
|
||||
CIType = "ci"
|
||||
DocsType = "docs"
|
||||
StyleType = "style"
|
||||
RefactorType = "refactor"
|
||||
|
|
Loading…
Reference in New Issue