firecow / gitlab-ci-local

Tired of pushing to test your .gitlab-ci.yml?
MIT License
2.15k stars 125 forks source link

Support Gitlab-CI Inputs #1093

Closed stefannawrath closed 6 months ago

stefannawrath commented 6 months ago

Hi, I'm trying to use Gitlab-CI-Inputs, this requires to add some "---" separated yaml into a singlefile, but this causes an error in your tool.

YAMLException: expected a single document in the stream, but found more at Object.load (/snapshot/firecow-gitlab-ci-local/node_modules/js-yaml/lib/loader.js:1722:9) at Function.loadYaml (/snapshot/firecow-gitlab-ci-local/src/parser.ts:244:21)

Describe the solution you'd like Please can you switch from load to loadAll()? I guess this solves the Issue

firecow commented 6 months ago

Dublicate of https://github.com/firecow/gitlab-ci-local/issues/940