refactor,fix: add rename lfs objects migration #497
Annotations
8 errors and 1 warning
pkg/db/migrate/0003_migrate_lfs_objects.go#L59
mnd: Magic number: 5, in <condition> detected (gomnd)
|
pkg/db/migrate/0003_migrate_lfs_objects.go#L66
mnd: Magic number: 5, in <condition> detected (gomnd)
|
pkg/db/migrate/0003_migrate_lfs_objects.go#L32
error returned from external package is unwrapped: sig: func (*github.com/charmbracelet/soft-serve/pkg/db.Tx).Select(dest interface{}, query string, args ...interface{}) error (wrapcheck)
|
pkg/db/migrate/0003_migrate_lfs_objects.go#L37
error returned from external package is unwrapped: sig: func (*github.com/charmbracelet/soft-serve/pkg/db.Tx).Select(dest interface{}, query string, args ...interface{}) error (wrapcheck)
|
pkg/git/lfs.go#L107
error returned from external package is unwrapped: sig: func github.com/charmbracelet/soft-serve/pkg/db.WrapError(err error) error (wrapcheck)
|
pkg/git/lfs.go#L112
error returned from interface method should be wrapped: sig: func (github.com/charmbracelet/soft-serve/pkg/storage.Storage).Exists(name string) (bool, error) (wrapcheck)
|
pkg/git/lfs.go#L117
error returned from external package is unwrapped: sig: func github.com/charmbracelet/soft-serve/pkg/db.WrapError(err error) error (wrapcheck)
|
pkg/git/lfs.go#L141
error returned from interface method should be wrapped: sig: func (io/fs.File).Close() error (wrapcheck)
|
|
The logs for this run have expired and are no longer available.
Loading