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

Incorrect error message when use duplicate yaml steps #9

Open
nCodefresh opened this issue Nov 24, 2016 · 1 comment
Open

Incorrect error message when use duplicate yaml steps #9

nCodefresh opened this issue Nov 24, 2016 · 1 comment
Labels

Comments

@nCodefresh
Copy link

version: '1.0'
steps:
  build_prj:
    image: node:latest

  build_prj:
      type: build
      description: UC - build step
      image_name: codefreshio/yaml-example
      dockerfile: Dockerfile
      tag: ${{CF_BRANCH}}

  freestyle_step:
      image: node:latest
      working-directory: ${{initial--clone}}

Actual result:

Validation error: duplicated mapping key at line 13, column 3:
      freestyle_step:
      ^

version of cyv: 0.0.5

@noamt
Copy link
Contributor

noamt commented Nov 27, 2016

A bug with the parser: nodeca/js-yaml#243

@noamt noamt added the bug label Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants