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

Task not executed if "pickString" input value is empty string #67927

Closed
letmaik opened this issue Feb 5, 2019 · 0 comments
Closed

Task not executed if "pickString" input value is empty string #67927

letmaik opened this issue Feb 5, 2019 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues verified Verification succeeded
Milestone

Comments

@letmaik
Copy link
Member

letmaik commented Feb 5, 2019

  • VSCode Version: 1.30.2
  • OS Version: Windows 10

Steps to Reproduce:

{
    "id": "flag",
    "description": "...",
    "default": "",
    "type": "pickString",
    "options": ["", "--flag"]
}

When I use this within the args of a task like ${input:flag} and select the empty default value, then the task is not executed. The idea is to conditionally add a boolean flag to the program that is launched.

EDIT: As a work-around, it seems to work if I use a whitespace instead.

@vscodebot vscodebot bot added the tasks Task system issues label Feb 5, 2019
@alexr00 alexr00 added the bug Issue identified by VS Code Team member as probable bug label Feb 6, 2019
@alexr00 alexr00 added this to the February 2019 milestone Feb 6, 2019
@alexr00 alexr00 closed this as completed in 58a4013 Feb 6, 2019
@roblourens roblourens added the verified Verification succeeded label Feb 26, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants