Skip to content

Recipe listing has wrong indentation when nested modules are used #1901

@vlaci

Description

@vlaci

Consider the following layout:

.
├── a.just
├── b.just
└── justfile
# a.just

mod b

top-level:
    @echo top
# b.just

nested:
    @echo "nested"
# justfile

mod a

The output for the mid-level b module is misaligned, suggesting that b is available at the top level:

$ just --unstable --list
Available recipes:
    a:
        top-level
    b:
            nested

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions