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

Cannot run configured Task with Label #7515

Closed
tsmaeder opened this issue Apr 7, 2020 · 0 comments · Fixed by #7574
Closed

Cannot run configured Task with Label #7515

tsmaeder opened this issue Apr 7, 2020 · 0 comments · Fixed by #7574
Assignees
Labels
bug bugs found in the application tasks issues related to the task system

Comments

@tsmaeder
Copy link
Contributor

tsmaeder commented Apr 7, 2020

  1. Configure a npm build task with a label like so:
"tasks": [
        {
            "label": "npmbuild",
            "type": "npm",
            "script": "build",
            "group": "build",
            "problemMatcher": []
         }
    ]
  1. Execute the command Run Task...
  2. Observe: you see a task labeled npm: npmbuild
  3. Select that task to run.
  4. Observe: you get an error:

task ERROR Can't get task launch configuration for label: npmbuild

When you remove the field label from the configuration above, you can execute the task under the name npm: build.

@tsmaeder tsmaeder added bug bugs found in the application tasks issues related to the task system labels Apr 7, 2020
@elaihau elaihau self-assigned this Apr 13, 2020
elaihau added a commit that referenced this issue Apr 14, 2020
- With this change users would be able to define labels in the task configs to overwrite the task names from providers.
- fixes #6507
- fixes #7515

Signed-off-by: Liang Huang <lhuang4@ualberta.ca>
elaihau added a commit that referenced this issue Apr 16, 2020
- With this change users would be able to define labels in the task configs to overwrite the task names from providers.
- fixes #6507
- fixes #7515

Signed-off-by: Liang Huang <lhuang4@ualberta.ca>
elaihau added a commit that referenced this issue Apr 16, 2020
- With this change users would be able to define labels in the task configs to overwrite the task names from providers.
- fixes #6507
- fixes #7515

Signed-off-by: Liang Huang <lhuang4@ualberta.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application tasks issues related to the task system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants