Skip to content

Commit

Permalink
Fix for editor script luacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Insality committed Oct 24, 2024
1 parent 62384f3 commit a46f387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid/editor_scripts/druid.editor_script
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end
local function save_file_from_dependency(dependency_file_path, output_file_path)
local content = editor.get(dependency_file_path, "text")
local file, err = io.open(output_file_path, "w")
if err then
if not file then
print("Error:", err)
return false
end
Expand Down

0 comments on commit a46f387

Please sign in to comment.