Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You're not into a project #25

Open
nspring opened this issue Sep 21, 2017 · 0 comments
Open

You're not into a project #25

nspring opened this issue Sep 21, 2017 · 0 comments

Comments

@nspring
Copy link

nspring commented Sep 21, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant