Absence of "age" property is not correctly handeled #9
Labels
No labels
bug
feature request
improvement
priority
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
leon/reporting-endpoint-worker#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Here, we check for nonexistence:
git.leon.wtf/leon/reporting-endpoint-worker/-@d118dc614c/src/handlers.js (L29)But this expression returns false, even if the age propety is set to 0, which sometimes is a legitimate case. The check must be more specific to null and undefined.
assigned to @leon