feat(ci): Format

This commit is contained in:
Barrett Ruth 2025-09-13 00:41:51 -05:00
parent f13a05c806
commit 04274186cc
4 changed files with 7 additions and 9 deletions

View file

@ -89,7 +89,6 @@ function M.scrape_problem(ctx)
return data return data
end end
if #data.test_cases > 0 then if #data.test_cases > 0 then
local all_inputs = {} local all_inputs = {}
local all_outputs = {} local all_outputs = {}

View file

@ -4,9 +4,9 @@ local function get_git_version()
local plugin_path = debug.getinfo(1, "S").source:sub(2) local plugin_path = debug.getinfo(1, "S").source:sub(2)
local plugin_root = vim.fn.fnamemodify(plugin_path, ":h:h:h") local plugin_root = vim.fn.fnamemodify(plugin_path, ":h:h:h")
local result = vim.system({"git", "describe", "--tags", "--always", "--dirty"}, { local result = vim.system({ "git", "describe", "--tags", "--always", "--dirty" }, {
cwd = plugin_root, cwd = plugin_root,
text = true text = true,
}):wait() }):wait()
if result.code == 0 then if result.code == 0 then
@ -24,7 +24,7 @@ local function parse_semver(version_string)
full = semver, full = semver,
major = tonumber(major), major = tonumber(major),
minor = tonumber(minor), minor = tonumber(minor),
patch = tonumber(patch) patch = tonumber(patch),
} }
end end
return nil return nil

View file

@ -20,4 +20,3 @@ end, {
end, commands) end, commands)
end, end,
}) })