Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multi-document YAML #309

Open
wmcnamee-coreweave opened this issue Apr 24, 2024 · 1 comment
Open

Add support for multi-document YAML #309

wmcnamee-coreweave opened this issue Apr 24, 2024 · 1 comment
Labels
feature New feature or request

Comments

@wmcnamee-coreweave
Copy link

helm template .  | fx --yaml
/private/var/folders/w0/79h6c76x6hv3jmk4p81td27r0000gp/T/fx-34.0.0.js:304
    throw new SyntaxError(err.message)
          ^

SyntaxError: Source contains multiple documents; please use YAML.parseAllDocuments() at line 63, column 1:

    - RespectIgnoreDifferences=true
---
^

    at parseYaml (/private/var/folders/w0/79h6c76x6hv3jmk4p81td27r0000gp/T/fx-34.0.0.js:304:11)
    at parseYaml.next (<anonymous>)
    at main (/private/var/folders/w0/79h6c76x6hv3jmk4p81td27r0000gp/T/fx-34.0.0.js:53:16)

Node.js v20.12.2
@antonmedv antonmedv added the bug Something isn't working label Apr 25, 2024
@antonmedv
Copy link
Owner

Will fix it! Please, share some yaml examples which fail.

@antonmedv antonmedv changed the title does not seem to support multi-document yaml Add support for multi-document YAML Jun 27, 2024
@antonmedv antonmedv added feature New feature or request and removed bug Something isn't working labels Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants