Skip to content

Commit 791385c

Browse files
authored
Updated naming for CVE Record Format index.js mindmap
The CVE Record Format legacy naming was used in a few places in the mindmap file. Updated to use the correct naming. This fixes Issue #305
1 parent b3f3750 commit 791385c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

schema/support/schema2markmap/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Author: Chandan BN (c) 2021
2-
// (1) convert CVE JSON schema to a mindmap
2+
// (1) convert CVE Record Format JSON schema to a mindmap
33

44
var ml = require('markmap-lib')
55
var Transformer = ml.Transformer;
@@ -16,7 +16,7 @@ const { Markmap, loadCSS, loadJS } = markmap;
1616

1717
let forDeletion = ['properties', 'items', 'anyOf', 'allOf', 'oneOf'];
1818

19-
var markdown = "# CVE JSON Record\n";
19+
var markdown = "# CVE Record Format\n";
2020

2121
function postfunc(obj, path, parent, parentPath) {
2222
if (path[1] && isNaN(path[1])) {
@@ -56,7 +56,7 @@ async function schemaMindMap() {
5656

5757
// create mindmap html
5858
var html = fillTemplate(root, assets);
59-
html = html.replace('<title>Markmap</title>', '<title>CVE JSON v5 Mindmap</title>');
59+
html = html.replace('<title>Markmap</title>', '<title>CVE Record Format Mindmap</title>');
6060
console.log(html);
6161
}
6262

0 commit comments

Comments
 (0)