- Notifications
You must be signed in to change notification settings - Fork 222
Labels
Description
Running dart test --version
inside a project that is part of a Pub Workspace fails with "Couldn't find version number". It works fine in the root of the workspace:
PS D:\Dev\Temp Projects\workspace_bug_repro> dart test --version Building package executable... (2.1s) Built test:test. 1.26.2 PS D:\Dev\Temp Projects\workspace_bug_repro> cd .\packages\application\ PS D:\Dev\Temp Projects\workspace_bug_repro\packages\application> dart test --version Couldn't find version number.
Dart-Code uses this command to determine the pkg:test
capabilities (to know if we can use --ignore-timeouts
) and while we could locate the workspace root, this feels like a bug.