Diff changelog generator - Index 0 out of bounds for length 0

I found a solution to a similar question:

sql changesets including function declarations contain semi-colons in the middle of the create statement. To fix these errors change the formatted-sql to not split the statements:

--changeset <username>:graph_functions_initialize_1 splitStatements:false

Reference: