Skip to content

Commit

Permalink
chore: remove redundant error check (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon authored Aug 29, 2024
1 parent 03db5ea commit 74b4df2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions migrate/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ func (m *Migrations) Discover(fsys fs.FS) error {
}

migration := m.getOrCreateMigration(name)
if err != nil {
return err
}

migration.Comment = comment
migrationFunc := NewSQLMigrationFunc(fsys, path)

Expand Down

0 comments on commit 74b4df2

Please sign in to comment.