diff options
Diffstat (limited to 'lua/tasks/project_config.lua')
| -rw-r--r-- | lua/tasks/project_config.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/tasks/project_config.lua b/lua/tasks/project_config.lua index b3891a3..f0ca017 100644 --- a/lua/tasks/project_config.lua +++ b/lua/tasks/project_config.lua | |||
| @@ -23,7 +23,10 @@ end | |||
| 23 | --- Writes all values as JSON to disk. | 23 | --- Writes all values as JSON to disk. |
| 24 | function ProjectConfig:write() | 24 | function ProjectConfig:write() |
| 25 | local params_file = Path:new(config.params_file) | 25 | local params_file = Path:new(config.params_file) |
| 26 | local tmp_dap_open_command = self.dap_open_command | ||
| 27 | self.dap_open_command = nil | ||
| 26 | params_file:write(vim.json.encode(self), 'w') | 28 | params_file:write(vim.json.encode(self), 'w') |
| 29 | self.dap_open_command = tmp_dap_open_command | ||
| 27 | end | 30 | end |
| 28 | 31 | ||
| 29 | return ProjectConfig | 32 | return ProjectConfig |
