Skip to content

Commit 5f52089

Browse files
committed
fix(flow): invalid condition
1 parent b80f82f commit 5f52089

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lsp/flow.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
return {
1717
cmd = function(dispatchers)
1818
local cmd = nil
19-
if vim.fn.executable('flow') then
19+
if vim.fn.executable('flow') == 1 then
2020
cmd = { 'flow', 'lsp' }
2121
else
2222
cmd = { 'npx', '--no-install', 'flow', 'lsp' }

0 commit comments

Comments
 (0)