Skip to content

Commit

Permalink
Some checks are weird
Browse files Browse the repository at this point in the history
  • Loading branch information
kilpkonn committed Oct 30, 2020
1 parent c8a4aab commit e452549
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ linters:
- nolintlint
- rowserrcheck
- scopelint
- staticcheck
- structcheck
- typecheck
- unconvert
Expand Down
11 changes: 9 additions & 2 deletions project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,14 @@ The following items have been removed.
`

// Initialize initializes a git repo for time tracking
func Initialize(terminal bool, tags []string, clearTags bool, autoLog string, local bool, cwd string) (string, error) {
func Initialize(
terminal bool,
tags []string,
clearTags bool,
autoLog string,
local bool,
cwd string,
) (string, error) {
var (
wd string
err error
Expand Down Expand Up @@ -235,7 +242,7 @@ func SetupTags(err error, tags []string, gtmPath string) ([]string, error) {
return tags, nil
}

func SetUpPaths(cwd, wd string, err error) (gitRepoPath string, workDirRoot string, gtmPath string, error error) {
func SetUpPaths(cwd, wd string, err error) (gitRepoPath, workDirRoot, gtmPath string, setupError error) {
if cwd == "" {
wd, err = os.Getwd()
} else {
Expand Down

0 comments on commit e452549

Please sign in to comment.