ci: format

This commit is contained in:
Barrett Ruth 2026-03-28 15:06:17 -04:00
parent 8899838e15
commit b468c68cda
No known key found for this signature in database
GPG key ID: A6C96C9349D2FC81

View file

@ -780,23 +780,13 @@ function M.config()
if keys.commits ~= nil then if keys.commits ~= nil then
vim.validate('forge.keys.commits', keys.commits, 'table') vim.validate('forge.keys.commits', keys.commits, 'table')
for _, k in ipairs({ 'checkout', 'diff', 'browse', 'yank' }) do for _, k in ipairs({ 'checkout', 'diff', 'browse', 'yank' }) do
vim.validate( vim.validate('forge.keys.commits.' .. k, keys.commits[k], key_or_false, 'string or false')
'forge.keys.commits.' .. k,
keys.commits[k],
key_or_false,
'string or false'
)
end end
end end
if keys.branches ~= nil then if keys.branches ~= nil then
vim.validate('forge.keys.branches', keys.branches, 'table') vim.validate('forge.keys.branches', keys.branches, 'table')
for _, k in ipairs({ 'diff', 'browse' }) do for _, k in ipairs({ 'diff', 'browse' }) do
vim.validate( vim.validate('forge.keys.branches.' .. k, keys.branches[k], key_or_false, 'string or false')
'forge.keys.branches.' .. k,
keys.branches[k],
key_or_false,
'string or false'
)
end end
end end
end end