diff options
| author | Hennadii Chernyshchyk <genaloner@gmail.com> | 2022-09-21 23:13:56 +0300 |
|---|---|---|
| committer | Hennadii Chernyshchyk <genaloner@gmail.com> | 2022-09-21 23:13:56 +0300 |
| commit | 0c1838e9bdc0e134319a0e61e8e490c241a62a95 (patch) | |
| tree | 5d3ace2e4b92692d700e41576a669d72b30af649 | |
| parent | e8dbc3c31b98de0ac705d48ffbd52f58a0ae231f (diff) | |
| download | neovim-tasks-0c1838e9bdc0e134319a0e61e8e490c241a62a95.tar.gz neovim-tasks-0c1838e9bdc0e134319a0e61e8e490c241a62a95.zip | |
Fix luacheck warning
| -rw-r--r-- | lua/tasks/project_config.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/tasks/project_config.lua b/lua/tasks/project_config.lua index 2d366c6..b3891a3 100644 --- a/lua/tasks/project_config.lua +++ b/lua/tasks/project_config.lua | |||
| @@ -9,7 +9,7 @@ ProjectConfig.__index = ProjectConfig | |||
| 9 | --- Reads project configuration JSON into a table. | 9 | --- Reads project configuration JSON into a table. |
| 10 | ---@return ProjectConfig | 10 | ---@return ProjectConfig |
| 11 | function ProjectConfig.new() | 11 | function ProjectConfig.new() |
| 12 | local project_config = {} | 12 | local project_config |
| 13 | local params_file = Path:new(config.params_file) | 13 | local params_file = Path:new(config.params_file) |
| 14 | if params_file:is_file() then | 14 | if params_file:is_file() then |
| 15 | project_config = vim.json.decode(params_file:read()) | 15 | project_config = vim.json.decode(params_file:read()) |
