8000 cmd/cue: invalid bytes argument for field "contents": empty disjunction when using yaml.Marshal in tool step · Issue #525 · cuelang/cue · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
cmd/cue: invalid bytes argument for field "contents": empty disjunction when using yaml.Marshal in tool step #525
Closed
@myitcv

Description

@myitcv

What version of CUE are you using (cue version)?

$ cue version
cue version +b9b2c54 linux/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

I'm working on a repro that doesn't involve the monstrosity that is the import GitHub workflow schema.

https://gist.github.com/myitcv/82feaf8b4837ee1025387b0aa078ad68

What did you expect to see?

test.yml to be written successfully to the current directory.

What did you see instead?

command.gengithub.write.contents: invalid bytes argument for field "contents": empty disjunction:
    ./x_tool.cue:9:2

In alpha1, this issue was hidden by #461 and #476

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0