Double quotes break in commits JSON parsing #27
Compare changes
+ 15
− 5
@@ -45,11 +45,21 @@ git_commits.each do |commit|
Fixed issue with double quotes by adding anchor character of ~
in
front of "
in Git template string. Once fetched, a call is made to
replace all quotes that don't have the anchor character with ",
then replace the anchored quotes with "
to produce valid JSON.
Signed-off-by: Martin Lowe martin.lowe@eclipse-foundation.org
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent