Skip to content

Commit

Permalink
Remove unneeded errors.Join
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan4th committed Aug 22, 2024
1 parent 3119a63 commit 11527ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ func (db *sqliteDatabase) copyMigrateDB(config *conf) (finalDB *sqliteDatabase,
zap.Error(err),
)

Check warning on line 834 in sql/database.go

View check run for this annotation

Codecov / codecov/patch

sql/database.go#L829-L834

Added lines #L829 - L834 were not covered by tests
}
return nil, errors.Join(err)
return nil, err

Check warning on line 836 in sql/database.go

View check run for this annotation

Codecov / codecov/patch

sql/database.go#L836

Added line #L836 was not covered by tests
}

// Opening the temporary migrated DB runs the actual migrations on it.
Expand Down

0 comments on commit 11527ab

Please sign in to comment.