This commit is contained in:
Alexander Wang 2023-03-20 11:31:38 -07:00
parent 04246ef0fb
commit e102fd98c3
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -711,9 +711,7 @@ func renameConflictsToParent(g *d2graph.Graph, key *d2ast.KeyPath) (*d2graph.Gra
if err != nil {
return nil, err
}
newIDs = append(newIDs, uniqueKeyStr)
uniqueKey, err := d2parser.ParseKey(uniqueKeyStr)
if err != nil {
return nil, err