Commit 25142fc3 authored by Committed by Sebastian Dröge
generator.py: change heuristic to modify Cargo.toml
It is easy to forget to add the final comma in the last item in the workspace member list, thus the current heuristic breaks the Cargo.toml parsing. Instead of trying to append the gir item, it is inserted at position end-2, avoiding the previous described situation.
Showing with 1 addition and 1 deletion