Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fall back to grep when rg is not available #848

Merged

Conversation

hippietrail
Copy link
Contributor

Issues

N/A

Description

I noticed that just searchfor crashed on my machine.
It turned out to be because ripgrep isn't installed in macOS.

I ran into this problem while reading #847

Demo

N/A

How Has This Been Tested?

Ran it some random words. I don't think there are tests applicable to just?

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes

@elijah-potter elijah-potter merged commit afde1db into Automattic:master Mar 8, 2025
18 checks passed
@hippietrail hippietrail deleted the just-searchfor-grep-fallback branch March 8, 2025 21:05
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