Skip to content

Commit

Permalink
Fix tasks.json in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRobitaille committed Mar 30, 2024
1 parent e144f3e commit 54765ce
Showing 1 changed file with 25 additions and 27 deletions.
52 changes: 25 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,35 +112,33 @@ Dependent Input Variables Usage example:

```json
{
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Nested input",
"command": "ls ${input:rootDir}/${input:childDir}",
"type": "shell",
"problemMatcher": []
"version": "2.0.0",
"tasks": [
{
"label": "Nested input",
"command": "ls ${input:rootDir}/${input:childDir}",
"type": "shell",
"problemMatcher": []
}
],
"inputs": [
{
"id": "rootDir",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "ls -1a"
}
],
"inputs": [
{
"id": "rootDir",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "ls -1a"
}
},
{
"id": "childDir",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "ls -1a ${input:rootDir}"
}
},
{
"id": "childDir",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "ls -1a ${input:rootDir}"
}
]
}
}
]
}
```

Expand Down

0 comments on commit 54765ce

Please sign in to comment.