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

YAML schema does not recognize silent attribute for defer blocks #2061

Open
StoaferP opened this issue Feb 13, 2025 · 0 comments · May be fixed by #2062
Open

YAML schema does not recognize silent attribute for defer blocks #2061

StoaferP opened this issue Feb 13, 2025 · 0 comments · May be fixed by #2062
Labels
state: needs triage Waiting to be triaged by a maintainer.

Comments

@StoaferP
Copy link

Description

I use the Taskfile YAML schema with VS Code and found that it incorrectly reports silent as an invalid parameter for defer items (screenshot below). This is definitely valid behavior that was recently implemented.

Image

Version

3.41.0

Operating system

Ubuntu 22.04.4

Experiments Enabled

No response

Example Taskfile

version: '3'

tasks:
  stoaferp-defer-things:
    cmds:
      - defer: echo "this will always execute"
        silent: true
      - exit 1
      - echo "this will not execute"
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Feb 13, 2025
@StoaferP StoaferP linked a pull request Feb 13, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: needs triage Waiting to be triaged by a maintainer.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants