Yaml line offset with multiple pipelines

With multiple pipelines in .drone.yml, any YAML parsing errors are offset incorrectly. A very short example is provided below:

---
kind: pipeline
type: docker
name: test

steps:
  - name: test
    image: golang
    commands:
      - go test server/...

---
kind: pipeline
type: docker
name: build

steps:
  - name: build
      image: golang
      commands:
        - go build

When calling, for example, ‘drone sign …’, the response given is:

client error 500: {"message":"yaml: line 6: mapping values are not allowed in this context"}

Even though the error is actually on line 19. It would be very helpful if this line number could be correct.