Skip to content

Commit c6b88e1

Browse files
Zachary_KniebelZachary_Kniebel
Zachary_Kniebel
authored and
Zachary_Kniebel
committed
Merge branch 'version/1.1' into release
2 parents 047db5f + 80a792a commit c6b88e1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/generator/mdj-reverseengineer.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -562,23 +562,23 @@ function _generateHelixDiagrams(documentationConfiguration, metaball, canvas, cr
562562
___addValidationErrorToMetaball(helixArchitecture.ProjectLayer.LayerIndex);
563563
return {
564564
IsValid: false,
565-
Message: "Templates in the Project Layer cannot depend on templates from other modules in the Project Layer"
565+
Message: `INVALID: Templates in the Project Layer cannot depend on templates from other modules in the Project Layer: "${sourceHierarchyModel.JsonTemplate.Path}"->"${targetHierarchyModel.JsonTemplate.Path}"`
566566
};
567567
}
568568
// feature -> project
569569
if (sourceLayerID == helixArchitecture.FeatureLayer.ReferenceID) {
570570
___addValidationErrorToMetaball(helixArchitecture.FeatureLayer.LayerIndex);
571571
return {
572572
IsValid: false,
573-
Message: "Templates in the Feature Layer cannot depend on templates in the Project Layer"
573+
Message: `INVALID: Templates in the Feature Layer cannot depend on templates in the Project Layer: "${sourceHierarchyModel.JsonTemplate.Path}"->"${targetHierarchyModel.JsonTemplate.Path}"`
574574
};
575575
}
576576
// foundation -> project
577577
if (sourceLayerID == helixArchitecture.FoundationLayer.ReferenceID) {
578578
___addValidationErrorToMetaball(helixArchitecture.FeatureLayer.LayerIndex);
579579
return {
580580
IsValid: false,
581-
Message: "Templates in the Foundation Layer cannot depend on templates in the Project Layer"
581+
Message: `INVALID: Templates in the Foundation Layer cannot depend on templates in the Project Layer: "${sourceHierarchyModel.JsonTemplate.Path}"->"${targetHierarchyModel.JsonTemplate.Path}"`
582582
};
583583
}
584584
}
@@ -589,7 +589,7 @@ function _generateHelixDiagrams(documentationConfiguration, metaball, canvas, cr
589589
___addValidationErrorToMetaball(helixArchitecture.FeatureLayer.LayerIndex);
590590
return {
591591
IsValid: false,
592-
Message: "Templates in the Feature Layer cannot depend on templates from other modules in the Feature Layer"
592+
Message: `INVALID: Templates in the Feature Layer cannot depend on templates from other modules in the Feature Layer: "${sourceHierarchyModel.JsonTemplate.Path}"->"${targetHierarchyModel.JsonTemplate.Path}"`
593593
};
594594
}
595595

@@ -598,7 +598,7 @@ function _generateHelixDiagrams(documentationConfiguration, metaball, canvas, cr
598598
___addValidationErrorToMetaball(helixArchitecture.FeatureLayer.LayerIndex);
599599
return {
600600
IsValid: false,
601-
Message: "Templates in the Foundation Layer cannot depend on templates in the Feature Layer"
601+
Message: `INVALID: Templates in the Foundation Layer cannot depend on templates in the Feature Layer: "${sourceHierarchyModel.JsonTemplate.Path}"->"${targetHierarchyModel.JsonTemplate.Path}"`
602602
};
603603
}
604604
}

0 commit comments

Comments
 (0)