task icon indicating copy to clipboard operation
task copied to clipboard

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

Open ambis opened this issue 11 months ago • 1 comments

  • 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.

ambis avatar Aug 30 '23 11:08 ambis