vscode-swift
vscode-swift copied to clipboard
Broken variable substitution in `swift` type of task in "task.json"
Describe the bug
Variable substitution is broken in swift
type of task in "task.json"
To Reproduce Steps to reproduce the behavior:
- Go to 'task.json'
- Add an argument e.g.
"${cwd}"
inargs
section of the task of typeswift
- Run the task
- See in the terminal output,
${cwd}
is printed out without being executed.
Expected behavior In VSCode documentation, it noted
only
command
,args
, andoptions
support variable substitution.
So args
section in task.json
should expand ${variable}
s.
Environment
- OS: MacOS14
- Swift swift lang-6.0.2.1.2
- Visual Studio Code version: 1.94.2
- vscode-swift version: v1.11.3
Additional context N/A