Skip to content

chore(index): add inline comment for short file check#600

Merged
Fdawgs merged 2 commits into
mainfrom
chore/shortfiles
Jul 5, 2026
Merged

chore(index): add inline comment for short file check#600
Fdawgs merged 2 commits into
mainfrom
chore/shortfiles

Conversation

@Fdawgs

@Fdawgs Fdawgs commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Short file check was added in #598 but could do with an inline comment so when I revisit it I know what the heck I was thinking!

Checklist

Copilot AI review requested due to automatic review settings July 5, 2026 13:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds clarifying inline documentation around the existing “short file” guard in UnRTF.convert() so the intent of the RTF magic-number check is easier to understand when revisiting the logic introduced in #598.

Changes:

  • Adds an inline comment above the bytesRead/magic-number check in convert().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/index.js Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

@Fdawgs Fdawgs merged commit 23c55d5 into main Jul 5, 2026
21 checks passed
@Fdawgs Fdawgs deleted the chore/shortfiles branch July 5, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants