Skip to content

Fix/148 meow input type error#149

Closed
a-magdy wants to merge 6 commits into
stoe:mainfrom
a-magdy:fix/148-meow-input-type-error
Closed

Fix/148 meow input type error#149
a-magdy wants to merge 6 commits into
stoe:mainfrom
a-magdy:fix/148-meow-input-type-error

Conversation

@a-magdy
Copy link
Copy Markdown
Contributor

@a-magdy a-magdy commented Apr 16, 2026

📝 Summary

Fix usage of meow options

🔗 Related Issues

#148

Copilot AI review requested due to automatic review settings April 16, 2026 13:44
@a-magdy a-magdy requested a review from stoe as a code owner April 16, 2026 13:44
Copy link
Copy Markdown
Contributor

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.

Pull request overview

Fixes a Node.js 22+ runtime crash in the CLI caused by an invalid meow option type, and adds end-to-end CLI smoke tests to exercise the entrypoint.

Changes:

  • Remove invalid meow option (input: []) that triggers a TypeError on newer Node.js versions.
  • Add Jest tests that run the CLI in a child process and validate --help / --version behavior.
  • Ignore macOS .DS_Store files.

Reviewed changes

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

File Description
cli.js Removes the invalid meow option that caused the Node.js 22+ crash.
test/cli.test.js Adds end-to-end smoke tests by spawning the CLI as a subprocess.
.gitignore Adds .DS_Store to ignored files.

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

Comment thread test/cli.test.js
Comment thread test/cli.test.js Outdated
a-magdy and others added 2 commits April 16, 2026 15:51
Overriding DEBUG env var to 'false'

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ahmed Magdy <a-magdy@users.noreply.github.com>
--version test to filer out the last line before checking for the correct value

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ahmed Magdy <a-magdy@users.noreply.github.com>
@stoe stoe added the bug 🐛 Something not working? label Apr 16, 2026
@stoe stoe linked an issue Apr 17, 2026 that may be closed by this pull request
@stoe stoe enabled auto-merge (squash) April 17, 2026 06:17
@stoe
Copy link
Copy Markdown
Owner

stoe commented Apr 17, 2026

Hi @a-magdy, thank you for your contribution.

To merge, my open source repositories require "Commits must have verified signatures".
Any chance you can set that up and reopen the PR, please?

@a-magdy
Copy link
Copy Markdown
Contributor Author

a-magdy commented Apr 17, 2026

yeah sure thing

@a-magdy a-magdy closed this Apr 17, 2026
auto-merge was automatically disabled April 17, 2026 15:25

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐛 Something not working?

Projects

None yet

Development

Successfully merging this pull request may close these issues.

meow throws TypeError with Node.js 22, 24, and 25 (installed via Homebrew)

3 participants