jbrunton / gflows

A CLI tool that makes templating GitHub Workflows easy
MIT License
30 stars 3 forks source link

improve error formatting #126

Open jbrunton opened 3 years ago

jbrunton commented 3 years ago

Currently errors are shown in an indented list, but this means that errors which span multiple lines show up inconsistently. E.g.

Checking workflow ... FAILED
  Error parsing template:
  ► ../gflows-tests/jsonnet-example/.gflows/workflows/workflow.jsonnet:7:21-28 Unknown variable: workflo

std.manifestYamlDoc(workflo)