Skip to content

Commit 2008abb

Browse files
committed
some minor fixes from linter
1 parent b2ccb6c commit 2008abb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tickgit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// DefaultMatchPatterns are the default path/filepath match pattern strings used to detect tickgit files
13-
var DefaultMatchPatterns []string = []string{"*.tickgit"}
13+
var DefaultMatchPatterns = []string{"*.tickgit"}
1414

1515
// File represents a tickgit file
1616
type File struct {
@@ -106,7 +106,7 @@ func GoalsFromCommit(commit *object.Commit, matchPatternOverrides []string) ([]G
106106
if matchPatternOverrides != nil || len(matchPatternOverrides) != 0 {
107107
matchPatterns = matchPatternOverrides
108108
}
109-
goals := make([]Goal, 0)
109+
var goals []Goal
110110

111111
// get the tree of the commit we want to retrieve goals from
112112
tree, err := commit.Tree()

0 commit comments

Comments
 (0)