Closed wadeking98 closed 11 months ago
@amanji , @swcurran , can we get this reviewed/merged?
Sorry about that. It keeps getting bumped from my list. I’ll try for tomorrow EOD.
Sorry for the long delay — had it on my list, but just not getting to it.
@jleach — are your suggestions required for merging? Can’t merge until you say OK.
FYI - a suggestion on a probably easier way to make this change, and a reasonable approach in any Bash scripts. The entire JSON output could have been passed through another sed
script with a simple substitution regex to remove the trailing comma on the second last line. Bash pipelines are easy to do.
Previously the JSON files generated by the gen_ocabundlesjson.sh script would be invalid due to a trailing comma. This caused BC Wallet to fail to properly handle the JSON. I've added functionality to not add a comma on the last entries in the json file.