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

Broken variable substitution in swift type of task in "task.json" #1150

Open
Whotakesmyname opened this issue Oct 20, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Whotakesmyname
Copy link

Whotakesmyname commented Oct 20, 2024

Describe the bug
Variable substitution is broken in swift type of task in "task.json"

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'task.json'
  2. Add an argument e.g. "${cwd}" in args section of the task of type swift
  3. Run the task
  4. See in the terminal output, ${cwd} is printed out without being executed.

Expected behavior
In VSCode documentation, it noted

only command, args, and options 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

@Whotakesmyname Whotakesmyname added the bug Something isn't working label Oct 20, 2024
@Whotakesmyname Whotakesmyname changed the title Broken value substitution in swift type of task in "task.json" Broken variable substitution in swift type of task in "task.json" Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant