Skip to content

Address Copilot feedback from a previous PR#306

Merged
stdavis merged 2 commits into
mainfrom
fix/copilot-review
Jun 16, 2026
Merged

Address Copilot feedback from a previous PR#306
stdavis merged 2 commits into
mainfrom
fix/copilot-review

Conversation

@stdavis

@stdavis stdavis commented Jun 16, 2026

Copy link
Copy Markdown
Member

No description provided.

@stdavis stdavis enabled auto-merge (rebase) June 16, 2026 17:51
@stdavis stdavis mentioned this pull request Jun 16, 2026
@stdavis stdavis requested a review from Copilot June 16, 2026 17:52

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

This PR updates the quad-word replacement logic to avoid unintended regex behavior, and aligns the PR workflow’s Node.js version with the repository’s pinned Node version file.

Changes:

  • Replace quad-word substitution from a global RegExp-based replace to a safer literal-string replacement.
  • Update GitHub Actions PR workflow to use .node-version via node-version-file.

Reviewed changes

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

File Description
index.ts Avoids regex-based replacement pitfalls by using a literal split/join and short-circuiting when quadWord is missing.
.github/workflows/pull_request.yml Pins CI Node.js version to the repo’s .node-version file for consistent local/CI parity.

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

@stdavis stdavis requested a review from acneville June 16, 2026 18:00
@stdavis stdavis disabled auto-merge June 16, 2026 18:08
@stdavis stdavis merged commit 89e8c5c into main Jun 16, 2026
7 checks passed
@stdavis stdavis deleted the fix/copilot-review branch June 16, 2026 18:08
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.

3 participants