diff options
-rw-r--r-- | lua/tasks/module/cargo.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/tasks/module/cargo.lua b/lua/tasks/module/cargo.lua index 3e21371..7c3ffdd 100644 --- a/lua/tasks/module/cargo.lua +++ b/lua/tasks/module/cargo.lua | |||
@@ -121,7 +121,7 @@ end | |||
121 | ---@param previous_job table | 121 | ---@param previous_job table |
122 | ---@return table? | 122 | ---@return table? |
123 | local function debug_test(module_config, previous_job) | 123 | local function debug_test(module_config, previous_job) |
124 | local package = get_executable_package(previous_job:result(), vim.tbl_get(module_config, 'args', 'debug_test')) | 124 | local package = get_executable_package(previous_job:result(), utils.split_args(module_config.global_cargo_args)) |
125 | if not package then | 125 | if not package then |
126 | return | 126 | return |
127 | end | 127 | end |
@@ -149,7 +149,7 @@ end | |||
149 | ---@param previous_job table | 149 | ---@param previous_job table |
150 | ---@return table? | 150 | ---@return table? |
151 | local function debug(module_config, previous_job) | 151 | local function debug(module_config, previous_job) |
152 | local package = get_executable_package(previous_job:result(), vim.tbl_get(module_config, 'args', 'debug')) | 152 | local package = get_executable_package(previous_job:result(), utils.split_args(module_config.global_cargo_args)) |
153 | if not package then | 153 | if not package then |
154 | return | 154 | return |
155 | end | 155 | end |