Skip to content

Views extracting YAML fields with line continuation characters fail #1018

@jackwhelpton

Description

@jackwhelpton

Check for existing issues

  • Completed

Environment

OS: Linux
Install method: direct download
Vale version: 3.12.0

Describe the bug / provide steps to reproduce it

YAML file such as:

openapi: 3.0.1
info:
  description: "Line 1\
    \ Line 2"

view:

engine: dasel
scopes:
  # API info
  - expr: info.description
    name: title

Error:

E100 [test.yaml] Runtime error

'Line 1 Line 2' not found

Execution stopped with code 1.

Verified this extracts the correct string from the Dasel Playground.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions