Skip to content

Commit

Permalink
Minor trimming in the checkhealth output.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Nov 8, 2024
1 parent 32134c0 commit decc49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/lean/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ local function neovim_is_new_enough()
end

local function lake_is_runnable()
local output = subprocess_check_output { 'lake', '--version' }
local version = vim.trim(subprocess_check_output { 'lake', '--version' })
vim.health.ok 'Lake is runnable.'
vim.health.info(' `lake --version`: ' .. output)
vim.health.info((' `lake --version`: %s'):format(version))
end

local function no_timers()
Expand Down

0 comments on commit decc49e

Please sign in to comment.