el-falso / gdlinter

This plugin runs `gdlint` on save to automatically lint your GD Script as you code.
https://godotengine.org/asset-library/asset/2520
MIT License
19 stars 5 forks source link

fix potential crash #9

Closed nullaf closed 7 months ago

nullaf commented 7 months ago

Hey, thanks for the work!

I was having issues with version 2.0.0 due to Windows, I've seen you've fixed that issue with unpublished 2.0.1, thanks for that!

Also, while I was debugging through that issue, I was also having empty output_array which was causing crash because you were trying to check the first index without checking beforehand if it's filled this will fix any potential problems alike.

el-falso commented 7 months ago

Thank you really much for fixing the issue.