argon-rbx / argon

Argon - Full featured tool for Roblox development
https://argon.wiki
Apache License 2.0
66 stars 4 forks source link

Fixed newline not being added to header #62

Closed Pyram1d-dev closed 2 months ago

Pyram1d-dev commented 2 months ago

Fixed header tags like --disable, --client, etc. not inserting a newline on a few occasions by commenting out a condition in lua.rs. This makes it ignore if there is already a newline in the source and adds a new one anyway, but it is preferable to it not adding a newline at all and throwing a bunch of errors (which is what happened in my case).

DervexDev commented 2 months ago

Thanks! I will merge this change tomorrow after some testing.

I think it's finally time to introduce unit tests.