bug: format_coverage
does now work when invoked with dart pub global run
#522
Labels
format_coverage
does now work when invoked with dart pub global run
#522
Details
Case 1 - command invoked through
dart pub global run
When running the following command:
The following exception is thrown:
Cannot open file, path = '..\..\..\..\..\..\..\..\..\AppData\Local\Pub\Cache\global_packages\coverage\.dart_tool\package_config.json' (OS Error: The system cannot find the path specified. , errno = 3)
However, if I go to the given path, I can find the referenced
package_config.json
file.Case 2 - command directly invoked through the global executable
On the other hand, the expected output (the
lcov.info
file) is properly generated when using the following command:Expected behaviour
The same
lcov.info
file should be generated in both cases.More context
OS: Windows 11
Dart SDK version: 3.2.3
coverage
version: 1.7.2The text was updated successfully, but these errors were encountered: