Skip to content

cli: bash symbol resolution crashes with 'resolved is not a function' #1

Description

@PaulDotterer

docref 0.1.0, Linux.

Bash is listed as a supported symbol language, but any symbol fragment on a .sh file crashes the CLI:

$ docref claim server:deploy/setup.sh#generate_ca
resolved is not a function

(Same for same-repo refs, e.g. docref claim deploy/setup.sh#generate_ca from a repo root — only the crash message is printed, exit non-zero.)

Whole-file refs to the same script (docref claim server:deploy/setup.sh) work fine, as do region markers inside the script, so the workaround is easy — but a supported-language symbol lookup shouldn't take down the process with what looks like an internal TypeError instead of either resolving or reporting broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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