diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-30 09:42:46 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-30 09:43:11 -0400 |
| commit | 3d0a4857274e28d215e64f1f53c90006eafb882e (patch) | |
| tree | 8cabae19447184ee24c288fb73b7ffaeed9c6809 | |
| parent | ccb079e08e214360860d48b8530257c6a2d9922c (diff) | |
hotfix: Should stop referencing nil values
Don't know why we were getting there, but maybe this will fix the
problem?
| -rw-r--r-- | lua/telescope/pickers.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index b599bb4..798ae39 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -416,6 +416,11 @@ function Picker:find() local process_result = function(entry) self:_increment("processed") + if not entry then + log.debug("No entry...") + return + end + -- TODO: Should we even have valid? if entry.valid == false then return |
