mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
entc/internal: fix snapshot schema merge (#1022)
This commit is contained in:
@@ -81,7 +81,7 @@ func (s *Snapshot) parseSnapshot(buf []byte) (*gen.Snapshot, error) {
|
||||
return local, nil
|
||||
}
|
||||
// In case of merge-conflict, we merge the 2 schemas.
|
||||
line, err = trim(matches[0])
|
||||
line, err = trim(matches[1])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user