Skip to content

--fail-on-max-depth to fail if max depth has been reached #316

@yegor256

Description

@yegor256

Currently, if I run phino --max-depth=10 and it finishes with exit code 0, I don't know whether it stopped rewriting in 5 steps or reached the limit of 10 and stopped because of that. If we would have the --fail-on-max-depth option, phino would fail if 1) 10 rewritings happened and 2) the last one has made some changes.

Maybe we need a better name for this flag.

Maybe we can have an inverse one instead: --depth-insensitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions