Skip to content

[deploy directory] Don't return error code when folder doesn't contain a file with a matching pattern #806

@paulRbr

Description

@paulRbr

avoid crash when folder doesn't contain a file with a matching pattern:

$ bump deploy --auto-create --hub "test-hub" --token $BUMPSH_TOKEN --filename-pattern "{slug}-api" "test-case"
> Error: No documentation found in test-case

This returns a non 0 error code where as its not really an error from the CLI.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions