Skip to content

Commit

Permalink
🐞Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dumindu committed Nov 27, 2024
1 parent 0ba9ae3 commit b034230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/migrate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ func main() {

db, err := goose.OpenDBWithDriver(dialect, dbString)
if err != nil {
log.Fatalf(err.Error())
log.Fatal(err.Error())
}

defer func() {
if err := db.Close(); err != nil {
log.Fatalf(err.Error())
log.Fatal(err.Error())
}
}()

Expand Down

0 comments on commit b034230

Please sign in to comment.