Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed Jun 17, 2024
1 parent 90dd27e commit adf0cbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions migrations/code/20240108075200_new_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (
"strings"

"github.com/lab259/go-migration"

"github.com/satisfactorymodding/smr-api/db"
"github.com/satisfactorymodding/smr-api/generated/ent"

"github.com/satisfactorymodding/smr-api/migrations/utils"
)

func init() {
migration.NewCodeMigration(
func(executionContext interface{}) error {
func(_ interface{}) error {
ctx, err := db.WithDB(context.Background())
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion storage/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (s3o *S3) List(prefix string) ([]Object, error) {
err := s3o.S3Client.ListObjectsPages(&s3.ListObjectsInput{
Bucket: aws.String(viper.GetString("storage.bucket")),
Prefix: aws.String(prefix),
}, func(output *s3.ListObjectsOutput, b bool) bool {
}, func(output *s3.ListObjectsOutput, _ bool) bool {
for _, obj := range output.Contents {
out = append(out, Object{
Key: obj.Key,
Expand Down

0 comments on commit adf0cbe

Please sign in to comment.