mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: gen_vc escape double quotes in sibject
This commit is contained in:
parent
b4561fa814
commit
7e139b5384
@ -268,7 +268,7 @@ fn (gen_vc mut GenVC) generate() {
|
|||||||
last_commit_hash_v_short := last_commit_hash_v[..7]
|
last_commit_hash_v_short := last_commit_hash_v[..7]
|
||||||
|
|
||||||
// subject
|
// subject
|
||||||
last_commit_subject := git_log_v.find_between('Subject:', '\n').trim_space()
|
last_commit_subject := git_log_v.find_between('Subject:', '\n').trim_space().replace('"', '\\"')
|
||||||
|
|
||||||
// log some info
|
// log some info
|
||||||
gen_vc.logger.debug('last commit time ($git_repo_v): ' + last_commit_time_v.format_ss())
|
gen_vc.logger.debug('last commit time ($git_repo_v): ' + last_commit_time_v.format_ss())
|
||||||
|
Loading…
Reference in New Issue
Block a user