fix: remove unused last_modified property (#126)
parent
9c5fc98a4c
commit
1e9fd63e25
|
|
@ -367,18 +367,11 @@ function M.list()
|
|||
dir_path = session_name
|
||||
end
|
||||
|
||||
local f = io.popen("stat -c %x " .. session)
|
||||
local last_modified = ""
|
||||
if f then
|
||||
last_modified = f:read()
|
||||
end
|
||||
|
||||
table.insert(sessions, {
|
||||
["name"] = session_name,
|
||||
["file_path"] = session,
|
||||
["branch"] = branch,
|
||||
["dir_path"] = dir_path,
|
||||
["last_modified"] = last_modified,
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue