kevinsawade / python-todo-to-issue

This github action looks for todos in new commits and posts them as issues. Once the todos are removed the issues are closed.
https://kevinsawade.github.io/python-todo-to-issue/index.html
GNU Lesser General Public License v2.1
3 stars 1 forks source link

removes todos when line number changes #100

Open byteface opened 2 years ago

byteface commented 2 years ago

Hi. I came across a bug I think. Sorry

https://github.com/byteface/sharpshooter/commit/3df00008bced81ddacbe861402510b8c3b01068c

when making an update higher up the code it auto removed the issue and closed it for me even though the TODO was still on there.

QUIET_MODE = False # TODO suppress all logs

this line was pushed down the file as lines higher up were added. also it had a type hint applied. The comment was not removed however the ticket that was previously auto created was auto removed.

figured I would report it.

kevinsawade commented 2 years ago

Hi, thanks for letting me know. I will look into that.