Skip to content

Don't do needless error handling around tx.Done()

Warren Gifford requested to merge mrn/no-needless-err-check into main

Created by: mrnugget

As it turns out, tx.Done(err) already does what the code here previously did: https://github.com/sourcegraph/sourcegraph/blob/b11636e4eb53ff6698fbd0ab4da7c7eac3496a1e/internal/database/basestore/store.go#L125-L132

Merge request reports

Loading