Update c.lua

This commit is contained in:
DarthMooMancer
2025-03-11 12:11:41 -04:00
parent 08d7fe35e0
commit 4c4f935e26
+2 -1
View File
@@ -330,8 +330,9 @@ function M.run()
-- Directly use the .polydev file (no need to filter further)
local project_name = vim.fn.fnamemodify(files[1], ":t")
local name = project_name:gsub("%.polydev$", "")
M.open_float_terminal("cd " .. build_dir .. " && ./" .. project_name)
M.open_float_terminal("cd " .. build_dir .. " && ./" .. name)
end
return M