fixing build error
This commit is contained in:
1 parent
e678c5d143
commit
1f8a2c291d
1 file changed
+1
-1
@@ -106,7 +106,7 @@ end
|
|||||||
-- Compile Java files
|
-- Compile Java files
|
||||||
function M.build()
|
function M.build()
|
||||||
local current_dir = vim.fn.expand("%:p:h")
|
local current_dir = vim.fn.expand("%:p:h")
|
||||||
local project_root = current_dir:match("(.*)/root/src")
|
local project_root = current_dir:match("(.*)/src")
|
||||||
if not project_root then
|
if not project_root then
|
||||||
print("Error: Must be inside the 'src' directory.")
|
print("Error: Must be inside the 'src' directory.")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user