Merge branch 'master-1'

# Conflicts:
#	cmd/pkgdashcli/main.go
#	go.mod
#	go.sum
#	internal/cli/init.go
#	internal/source/gitea/gitea.go
This commit is contained in:
Gorbunov Kirill Andreevich
2024-03-25 23:28:28 +03:00
14 changed files with 25 additions and 27 deletions

View File

@@ -125,7 +125,7 @@ func parseModFile(ctx context.Context, store storage.Storage, pkg *models.Packag
err = tree.Files().ForEach(func(file *object.File) error {
if file == nil {
err = errors.New("file pointer is nil")
logger.Error(ctx, err)
logger.Error(ctx, "file tree error", err)
return err
}