Skip to content

Commit

Permalink
migrate: remove redundant error check
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed May 22, 2024
1 parent f2f77e5 commit 0ff4053
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 0ff4053

Please sign in to comment.