Skip to content

Commit

Permalink
fix(dap_manual): fixed style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavyPunk committed Dec 1, 2024
1 parent 5f77ea7 commit 362cc8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lua/neotest-golang/features/dap/dap_manual.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function M.get_dap_config(test_path, test_name_regex)
end

---Dummy function is needed to be corresponding to dap-go setup (just like trait implementation)
function M.assert_dap_prerequisites()
end
function M.assert_dap_prerequisites() end

return M
4 changes: 3 additions & 1 deletion lua/neotest-golang/features/dap/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ local function get_dap_implementation()
elseif selected_dap_mode == "manual" then
dap_impl = require("neotest-golang.features.dap.dap_manual")
else
local msg = "Got dap-mode: `" .. selected_dap_mode .. "` that cannot be used. "
local msg = "Got dap-mode: `"
.. selected_dap_mode
.. "` that cannot be used. "
.. "See the neotest-golang README for more information."
logger.error(msg)
error(msg)
Expand Down

0 comments on commit 362cc8c

Please sign in to comment.