Skip to content

Standardize native header extensions to h - #1642

Merged
minggangw merged 1 commit into
RobotWebTools:developfrom
minggangw:fix-1641
Oct 17, 2026
Merged

minggangw merged 1 commit into
RobotWebTools:developfrom
minggangw:fix-1641

Conversation

@minggangw

Copy link
Copy Markdown
Member
  • Rename the clock event header from .hpp to .h.
  • Update its header guard and all dependent includes.
  • Change the lint-staged formatting pattern from *.{hpp,cpp} to *.{h,cpp}.

Fix: #1641

Copilot AI balanced review requested due to automatic review settings October 17, 2026 14:30

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.

🟢 Approval recommended

The header references, guard, and formatting pattern are consistent, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Standardizes the native clock-event header to .h, addressing #1641 without changing runtime behavior.

Changes:

  • Renames the header and updates its guard and dependent includes.
  • Updates staged formatting to target .h and .cpp files.
File Description
src/​clock_event.h Updates the renamed header’s guard.
src/​clock_event.cpp Includes clock_event.h.
src/​addon.cpp Includes clock_event.h.
package.json Formats staged .h files instead of .hpp files.

Review effort: Balanced

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 91.147% (-0.001%) from 91.148% — minggangw:fix-1641 into RobotWebTools:develop

@minggangw
minggangw merged commit 6003df1 into RobotWebTools:develop Oct 17, 2026
17 checks passed
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.

Standardize native header extensions to .h

3 participants