Tags: eliblock/less-advanced-security
Tags
handle patches with no offset 🫡 (#15) Sometimes, e.g., when a one line file is added or when a file is entirely removed, the patch's new line numbers contain only a single number (e.g., `@@ -0,0 +1 @@` or `@@ -1,224 +1 @@`). Previously this would panic. Instead, handle it gracefully!
remove `details` from annotation 🖍️ (#7) Remove the `details` field from all annotations. In certain conditions, including this field (which was filled with a marshalled JSON string) appears to be causing a validation error in posting an initial check creation to GitHub. In the reproduced error cases, the post body remained valid JSON, but nonetheless removing the `details` field resolved the validation issue.