Ensure sdtout is a string
This commit is contained in:
parent
7fe20240bf
commit
f76e49238f
@ -17,7 +17,7 @@ function M.get_toplevel(cwd)
|
|||||||
log.line("git", "%s", table.concat(cmd, " "))
|
log.line("git", "%s", table.concat(cmd, " "))
|
||||||
|
|
||||||
local obj = vim.system(cmd):wait()
|
local obj = vim.system(cmd):wait()
|
||||||
local out = obj.stdout
|
local out = obj.stdout or ""
|
||||||
|
|
||||||
log.raw("git", out)
|
log.raw("git", out)
|
||||||
log.profile_end(profile)
|
log.profile_end(profile)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user