Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

CLI: exits with 0 when deploy fails and maybe other commands (all?) #696

@20k-ultra

Description

@20k-ultra

See the following example to reproduce. This makes it difficult to programmatically handle this failure like we need to in the github action.

$ echo "{}" > .lagon/config.json
$ lagon deploy
✖ missing field `function_id` at line 1 column 2
$ echo $?
0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions