-
Notifications
You must be signed in to change notification settings - Fork 211
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: flutter coverage-package unusable through melos #696
Comments
You could try running it through the shell you want to use like |
No there's no hidden part here. Here's the help text for this parameter.
|
Ah, I didn't know that was included in
|
Nope same result. |
Interesting, I did not get that same result on Linux. |
Escaping does not help. |
Is there an existing issue for this?
Version
5.3.0
Description
This command for example:
melos exec -- "flutter test --coverage --coverage-package=MELOS_PACKAGE_NAME(|_service)"
will end with an error.
This is not due to the env variable MELOS_PACKAGE_NAME but to the regular expression itself. Tested with other expressions with the same result.
I also tried to put the regular expression to an env variable.
Those examples are OK ✅:
flutter test --coverage --coverage-package=package_name(|_service)✅
melos exec -- "flutter test --coverage --coverage-package=MELOS_PACKAGE_NAME" => ✅
melos exec -- "flutter test --coverage --coverage-package=package_name" => ✅
Steps to reproduce
Expected behavior
MELOS_PACKAGE_NAME replaced and the regular expression correctly handled to provide deep code coverage
Screenshots
No response
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: