diff options
Diffstat (limited to 'isTracked.go')
| -rw-r--r-- | isTracked.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isTracked.go b/isTracked.go index 391ecd5..414414b 100644 --- a/isTracked.go +++ b/isTracked.go @@ -32,7 +32,7 @@ func isIgnored(file string) (bool, error) { return false, fmt.Errorf("error checking ignored status: %v", err) } -func repoOwnsGoMod(repo *gitpb.Repo) (bool, error) { +func repoIgnoresGoMod(repo *gitpb.Repo) (bool, error) { os.Chdir(repo.FullPath) file := "go.mod" @@ -44,7 +44,7 @@ func repoOwnsGoMod(repo *gitpb.Repo) (bool, error) { if tracked { fmt.Printf("%s %s is tracked by Git.\n", repo.GoPath, file) - return true, nil + return false, nil } ignored, err := isIgnored(file) |
