buildkite / pipeline-schema

A JSON schema for Buildkite’s pipeline file format
MIT License
31 stars 35 forks source link

fields -> default warning with array #16

Closed tonynguyenit18 closed 3 years ago

tonynguyenit18 commented 3 years ago

When provide array string to fieldss default, vs code shows warning E.g

  - block: "Deploy to QA"
    fields:
      - select: "Regions"
        key: "deploy-regions"
        hint: "Which regions should we deploy this to? :earth_asia:"
        multiple: true
        default: ["ap-southeast-2", "eu-west-1"]
        options:
          - label: "Sydney"
            value: "ap-southeast-2"
          - label: "Ireland"
            value: "eu-west-1"

Error image