Ensure sdtout is a string

This commit is contained in:
przepompownia 2025-08-05 01:41:35 +02:00
parent 7fe20240bf
commit f76e49238f

View File

@ -17,7 +17,7 @@ function M.get_toplevel(cwd)
log.line("git", "%s", table.concat(cmd, " "))
local obj = vim.system(cmd):wait()
local out = obj.stdout
local out = obj.stdout or ""
log.raw("git", out)
log.profile_end(profile)