-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.68.1
- OS Version: MacOS 12.4
I worked on the feature to introduce globs on tasks along with alexr00.
However I've noticed currently I am running a test task when trying to build the project which is wrong. This behaviour is unexpected and was not possible before globs were introduced. It shouldn't be possible to execute a test task from a build command, or a build task from a test command.
Test Case
- Clone https://github.com/jasonwilliams/tasks-testcase
- Navigate to
main.test.js - Run
Tasks: Run Build Task
What happens
The task glob for kind: test executes
What's expected
The build task should execute because that's the only build task in the list of tasks so becomes the default as specified here
I didn't run Tasks: Run Test Task so the test task should not have executed
Hey @alexr00 I think one of your refactoring changes may have introduced this, is this something you're able to fix?