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

Handle case where project.el detects no project #70

Merged
merged 1 commit into from
Dec 28, 2019

Conversation

raxod502
Copy link
Contributor

@raxod502 raxod502 commented Dec 24, 2019

Previously if Projectile and find-file-in-project both failed, then rg.el was assuming that (project-current) would return a valid project. But if project.el can't find a project, then it'll return nil, which will cause an error when passed to project-roots.

Previously if Projectile and find-file-in-project both failed, then
rg.el was assuming that (project-current) would return a valid
project. But if project.el can't find a project, then it'll return
nil, which will cause an error when passed to `project-roots'.
@raxod502 raxod502 changed the title Previously if Projectile and find-file-in-project both failed, then rg.el was assuming that (project-current) would return a valid project. But if project.el can't find a project, then it'll return nil, which will cause an error when passed to `project-roots'. Handle case where project.el detects no project Dec 24, 2019
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 83.449% when pulling 60f8d56 on raxod502:feat/handle-no-project into 2dc9c27 on dajva:develop.

raxod502 added a commit to radian-software/radian that referenced this pull request Dec 24, 2019
@dajva dajva merged commit af1ae55 into dajva:develop Dec 28, 2019
@dajva
Copy link
Owner

dajva commented Dec 28, 2019

Thanks a lot.

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

Successfully merging this pull request may close these issues.

3 participants