Skip to content

Commit

Permalink
Fix get version on Windows (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamxiaojianzheng authored Oct 17, 2024
1 parent cf8f00d commit 67d6b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/distant-core/cli.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function M:version()
end

-- Retrieve a raw version string in the form of "distant x.y.z-aaa.bbb"
local raw_version = vim.fn.system(self.path .. ' --version')
local raw_version = vim.fn.system({self.path, '--version'})
if not raw_version then
return
end
Expand Down

0 comments on commit 67d6b06

Please sign in to comment.