Skip to content

Commit

Permalink
Pass lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kikakkz committed Sep 11, 2023
1 parent 3d31087 commit 9853287
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/migrator/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ func migrateOrder(ctx context.Context, tx *ent.Tx) error {
return nil
}

//nolint:funlen
func Migrate(ctx context.Context) error {

Check failure on line 266 in pkg/migrator/migrator.go

View workflow job for this annotation

GitHub Actions / test-cache

cyclomatic complexity 16 of func `Migrate` is high (> 15) (gocyclo)

Check failure on line 266 in pkg/migrator/migrator.go

View workflow job for this annotation

GitHub Actions / test (1.17.x, ubuntu-latest)

cyclomatic complexity 16 of func `Migrate` is high (> 15) (gocyclo)

Check failure on line 266 in pkg/migrator/migrator.go

View workflow job for this annotation

GitHub Actions / test (1.17.x, macos-latest)

cyclomatic complexity 16 of func `Migrate` is high (> 15) (gocyclo)
var err error

Expand Down

0 comments on commit 9853287

Please sign in to comment.