mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-04 08:06:43 +02:00
#1031 Adding stricter code checks
This commit is contained in:
@@ -122,7 +122,7 @@ const calcLabelPosition = points => {
|
||||
|
||||
const calcCardinalityPosition = (isRelationTypePresent, points, initialPosition) => {
|
||||
let prevPoint;
|
||||
let totalDistance = 0;
|
||||
let totalDistance = 0; // eslint-disable-line
|
||||
if (points[0] !== initialPosition) {
|
||||
points = points.reverse();
|
||||
}
|
||||
|
Reference in New Issue
Block a user