Skip to content

file-global silent:true not respected when in included file #1319

@ambis

Description

@ambis
  • Task version: Task version: v3.29.1 (h1:q4mqGSR40qTOf9XZp2ySY3cM6enb2d+AqaxI/pEBiLk=)
  • Operating system: Ventura 13.5
  • Experiments enabled: none I guess
# taskfile.yml
version: "3"
includes:
  silent: taskfile.silent.yml
# taskfile.silent.yml
version: "3"
silent: true # <- look here 
tasks:
  me-not-silent:
    desc: "hello"
    cmds:
      - echo hello
$ task silent:me-not-silent
task: [silent:me-not-silent] echo hello # <- not very silent :(
hello

When silent set to the included job directly, then it works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: readerChanges related to the Taskfile reader.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions