mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: fix v -W build-tools
This commit is contained in:
parent
7a6fd359d0
commit
2516c07614
2 changed files with 30 additions and 36 deletions
|
@ -80,9 +80,9 @@ fn (vd VDoc) gen_json(d doc.Doc) string {
|
|||
} else {
|
||||
d.head.merge_comments_without_examples()
|
||||
}
|
||||
jw.write('{"module_name":"$d.head.name","description":"${escape(comments)}","contents":')
|
||||
jw.write(json.encode(d.contents.keys().map(d.contents[it])))
|
||||
jw.write(',"generator":"vdoc","time_generated":"$d.time_generated.str()"}')
|
||||
jw.write_string('{"module_name":"$d.head.name","description":"${escape(comments)}","contents":')
|
||||
jw.write_string(json.encode(d.contents.keys().map(d.contents[it])))
|
||||
jw.write_string(',"generator":"vdoc","time_generated":"$d.time_generated.str()"}')
|
||||
return jw.str()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue