myke icon indicating copy to clipboard operation
myke copied to clipboard

Errors in discovered `myke.yml` are printed without the actual path

Open pkuczynski opened this issue 6 years ago • 0 comments

I have a myke.yml config which references few others:

discover:
  - ../dir1
  - ../dir2
  - ../dir3

When one of them contains an error I receive the following message when running myke:

⨯ error error=yaml: line 34: could not find expected ':'

Without the actual path to the file causing the trouble, I have no easy way of figuring it out myself.

I would expect an error like:

⨯ error ../dir1/myke.yaml[34]: could not find expected ':'

pkuczynski avatar Oct 13 '17 11:10 pkuczynski