chore: fix lint errors from latest ci run

This commit is contained in:
Simon Hauser
2022-03-26 10:25:47 +01:00
parent 503db70a6a
commit 40c1e88904
2 changed files with 2 additions and 2 deletions

View File

@@ -281,7 +281,7 @@ lsp.code_actions = function(opts)
-- Fixed Java/jdtls compatibility with Telescope
-- See fix_zero_version commentary for more information
local command = (action.command and action.command.command) or action.command
if not (command == "java.apply.workspaceEdit") then
if command ~= "java.apply.workspaceEdit" then
return action
end
local arguments = (action.command and action.command.arguments) or action.arguments

View File

@@ -461,7 +461,7 @@ function Picker:find()
local prompt = self:_get_next_filtered_prompt()
-- TODO: Entry manager should have a "bulk" setter. This can prevent a lot of redraws from display
if self.cache_picker == false or not (self.cache_picker.is_cached == true) then
if self.cache_picker == false or self.cache_picker.is_cached ~= true then
self.sorter:_start(prompt)
self.manager = EntryManager:new(self.max_results, self.entry_adder, self.stats)