Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle case where project.el detects no project
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'.
- Loading branch information