-
Notifications
You must be signed in to change notification settings - Fork 21
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
1.9.0 introduced bug: Could not find input with command {command} and taskId 'undefined'. #79
Comments
Per the error message, it does look like it is throwing from shell command extension. But, if I factor out the command variable extension, it works fine. Maybe there is some interplay going on here between the two extensions? |
I'm able to reproduce this. The bad commit is e564d56 |
Please check if this branch works for you: https://github.com/augustocdias/vscode-shell-command/tree/feature/nested_input |
Perfect! It works! Thank-you! |
Hi - is there any chance of release a new update with the version soon? Thanks again.. |
Here is the tasks.json {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Test Shell Command",
"detail": "Test of Shell Command",
"type": "shell",
"command": "echo ${input:testShellCommand}",
"presentation": {
"clear": true,
"echo": true,
"focus": true,
"panel": "shared"
},
"group": "build",
},
],
"inputs" : [
{
// Prompts the user to select a target and stores the target name in the remember store as 'selectedBazelTarget'
"id": "testShellCommand",
"type": "command",
"command": "extension.commandvariable.pickStringRemember",
"args": {
"description": "Choose a target",
"key": "selectedBazelTarget",
"rememberTransformed": true,
"options": [
{ "label": "Select Target", "value": "${command:bazelTargets}", "description": "NOTE: It may take some time for the selection list to be displayed" }
],
"command": {
"bazelTargets": {
"command": "shellCommand.execute",
"args": {
"command": "echo 'ItWorked'",
"cwd": "${workspaceFolder}"
}
}
}
}
}
]
} |
Hi!
First of all, thank-you for creating this product! It has been very helpful in enhancing the vscode experience.
It looks like the recent 1.9.0 release has broken our use case. I've created a simple case below that should outline the problem.
You will need to install another extension: rioj7.command-variable (Command Variable). Latest version (1.61.1) works fine.
It does work fine with 1.8.2, but not with 1.9.0.
I have not dug into the changes in the past 11 months. The fact that the taskid is undefined does seem wrong. Any ideas?
Thank-you!
The text was updated successfully, but these errors were encountered: