Skip to content

Colon in cmds fails yaml parsing #20

@zbindenren

Description

@zbindenren

Taskvars.yml:

CONTEXT: /

Taskfile.yml:

view:
  cmds:
    - echo 'context: {{.CONTEXT}}'

Produces:

$ task view
yaml: line 3: found unexpected end of stream

Taskfile.yml:

view:
  cmds:
    - echo 'context: test'

Produces:

$ task view
yaml: unmarshal errors:
  line 3: cannot unmarshal !!map into string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions