Skip to content

Legacy deploy: error thrown when pulling a project with no workflows #1234

@josephjclark

Description

@josephjclark

When pulling a project with no workflows, this wierd error is thrown:

[CLI] ♦ Downloading the project spec (as YAML) from the server.
[CLI] ✘ ERROR: invalid spec
[CLI] ✘ [
  {
    "context": {
      "workflows": null
    },
    "message": "project: must provide at least one workflow",
    "path": "workflows"
  }
]

There's no reason to be strict about this

The pull does actually work OK as well, so if anything it's a warning more than an error

This is probably a wontfix as the 2.0 deploy is coming and this is pretty edge-casey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    DevX Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions