bbatsov / helm-projectile

Helm UI for Projectile
329 stars 71 forks source link

Fix "Not in project" error from helm-source-projectile-files-list #115

Closed ahktenzero closed 6 years ago

ahktenzero commented 6 years ago

Also need to guard the call to projectile-project-root in filtered-candidate-transformer, otherwise if this source is called outside a project it errors out instead of just being empty.

bbatsov commented 6 years ago

Btw, projectile-project-root no longer raises an error in such case on master. It now simply returns nil if you're not in a project.

ahktenzero commented 6 years ago

I'd missed that, after testing with an updated Projectile there's no need to apply this patch.