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

This commit is contained in:
Torkel Ödegaard 2016-09-30 09:23:26 +02:00
parent 86b546c21d
commit 5ec86a9ef4

View File

@ -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)
return err
}
return nil
if err != nil {
return err
}
return nil
}