Commit 5ec86a9e by Torkel Ödegaard

fix(build): fixed broken build, unreachable code in migrator.go

parent 86b546c2
...@@ -133,11 +133,6 @@ func (mg *Migrator) exec(m Migration, sess *xorm.Session) error { ...@@ -133,11 +133,6 @@ func (mg *Migrator) exec(m Migration, sess *xorm.Session) error {
mg.Logger.Error("Executing migration failed", "id", m.Id(), "error", err) mg.Logger.Error("Executing migration failed", "id", m.Id(), "error", err)
return err return err
} }
return nil
if err != nil {
return err
}
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment