diff options
Diffstat (limited to 'lua/aotrix')
| -rw-r--r-- | lua/aotrix/build.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/aotrix/build.lua b/lua/aotrix/build.lua index ffd0bcd..af9e0ea 100644 --- a/lua/aotrix/build.lua +++ b/lua/aotrix/build.lua @@ -19,8 +19,8 @@ end function writeJsonToFile(json, filePath) local file, error = io.open(filePath, 'r') - local content = file:read("*a") if file ~= nil then + local content = file:read("*a") local decoded_json = vim.json.decode(content) print(decoded_json["first_element"]) end |
