• Víctor Manuel Jáquez Leal's avatar
    generator.py: change heuristic to modify Cargo.toml · 25142fc3
    Víctor Manuel Jáquez Leal authored
    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.
    25142fc3
generator.py 1.75 KB