Skip to content

M-x psci errors if there is no .psci file. #3

Closed
@sellout

Description

@sellout

In a PureScript buffer, I run M-x psci and an empty “psci” buffer opens. Then the entry “psci/--project-root!: Wrong type argument: stringp, nil” is added to “Messages”. debug-on-error is enabled, but I don’t end up in the debugger for some reason.

It looks like psci/--project-root! doesn’t try to do anything (even report a better error, like “need a .psci file”) if locate-dominating-file returns nil.

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