cob-cli 2.40.0 → 2.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -50,7 +50,7 @@ async function generateMermaid(args) {
|
|
|
50
50
|
const right = (ref.required ? '|' : 'o') + '{';
|
|
51
51
|
const msgType = references.some(r => r.one === ref.one && r.many === ref.many) ? "hasMany" : "isOf"
|
|
52
52
|
let msg = "";
|
|
53
|
-
switch (args.
|
|
53
|
+
switch (args.labels) {
|
|
54
54
|
case "en":
|
|
55
55
|
msg = msgType == "hasMany" ? `${ref.one} have many ${ref.many}` : `_${ref.fieldName}_ is one of ${ref.one}`;
|
|
56
56
|
break;
|
package/package.json
CHANGED