Skip to content

reports exit code 1 if command run fails #2441

@AlbinaBlazhko17

Description

@AlbinaBlazhko17

Describe the bug
When you run a command, which fails it reports a exit code 1, instead of 2.

To Reproduce

Expected behavior
Should report exit code 2.

Logs

OpenAPI description

Redocly version(s)
2.12.1

Node.js version(s)
v22

OS, environment
MacOS

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions