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

-e <regex> option not working #28

Open
jimhigson opened this issue Feb 23, 2024 · 2 comments
Open

-e <regex> option not working #28

jimhigson opened this issue Feb 23, 2024 · 2 comments

Comments

@jimhigson
Copy link

Simple example:

npx stmux -- [ -e i_like_pancakes "yes Error" ]
  • expected: Should not be red, because nothing on the console matches our regex
  • actual: Is red.

LMK if you don't have time to fix this, I might be able to raise a PR

@jimhigson
Copy link
Author

Side issue - the error detection doesn't play nice with tsc since it prints "Found 0 errors." and it is possible but not obvious how to write a regex that matches non-zero numbers. Feature request - allow multiple regexes like: -e Error -e "! 0 errors"

@rse
Copy link
Owner

rse commented Feb 23, 2024

Yes, I'm ultra busy, so I would be glad if you could provide a PR...

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

No branches or pull requests

2 participants