We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
go: command not found
1 parent 2295d1e commit 957d6dcCopy full SHA for 957d6dc
1 file changed
lua/gitlab/version.lua
@@ -1,7 +1,7 @@
1
local M = {}
2
3
M.is_go_valid = function()
4
- local go_version = io.popen("go version"):read("*a")
+ local go_version = io.popen("go version 2>&1"):read("*a")
5
if go_version then
6
local major, minor, _ = go_version:match("(%d+)%.(%d+)%.?(%d*)")
7
if major and tonumber(major) >= 1 and tonumber(minor) >= 25 then
0 commit comments