Skip to content

You're not into a project #25

@nspring

Description

@nspring

When running "rubocop-autocorrect-current-file" on a standalone .rb file, I get the error "You're not into a project". My elisp literacy is not so good, but it seems that the code wants to allow running outside a project, but triggers an exception when no project root can be found:

    (let ((default-directory (or (rubocop-project-root 'no-error) default-directory)))

Within a rails project, I have no trouble.

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