Closed sagarc03 closed 2 years ago
https://github.com/charludo/projectmgr.nvim/blob/3af871d362fa17bfe90c905c3585fea6cfb84de6/lua/projectmgr/db_adapter.lua#L179-L190
local _ = db:exec( "UPDATE projects SET name='" .. name .. "', path='" .. path .. "', commandstart='" .. commandstart .. "', commandexit='" -- this 'commandexit=' is missing .. commandexit .. "' WHERE name=='" .. old_name .. "';" )
Gold catch, approved your PR. Thank you!
(I really need to get around to adding unit tests 😅)
https://github.com/charludo/projectmgr.nvim/blob/3af871d362fa17bfe90c905c3585fea6cfb84de6/lua/projectmgr/db_adapter.lua#L179-L190