Skip to content

Add is_stale#66

Merged
Nick (ingalls) merged 1 commit intomainfrom
is_stale
Apr 17, 2025
Merged

Add is_stale#66
Nick (ingalls) merged 1 commit intomainfrom
is_stale

Conversation

@ingalls
Copy link
Copy Markdown
Member

No description provided.

@ingalls Nick (ingalls) requested a review from Copilot April 17, 2025 19:15
@ingalls Nick (ingalls) self-assigned this Apr 17, 2025
@ingalls Nick (ingalls) added the enhancement New feature or request label Apr 17, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

lib/cot.ts:651

  • Consider validating that this.raw.event._attributes.stale is a valid date string before performing the comparison, as an invalid date may lead to unexpected behavior.
return new Date(this.raw.event._attributes.stale) < new Date();

@ingalls Nick (ingalls) merged commit 4a0235b into main Apr 17, 2025
3 checks passed
@ingalls Nick (ingalls) deleted the is_stale branch April 17, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants