mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
Fix for editor script luacheck
This commit is contained in:
parent
62384f36b3
commit
a46f38734e
@ -12,7 +12,7 @@ end
|
|||||||
local function save_file_from_dependency(dependency_file_path, output_file_path)
|
local function save_file_from_dependency(dependency_file_path, output_file_path)
|
||||||
local content = editor.get(dependency_file_path, "text")
|
local content = editor.get(dependency_file_path, "text")
|
||||||
local file, err = io.open(output_file_path, "w")
|
local file, err = io.open(output_file_path, "w")
|
||||||
if err then
|
if not file then
|
||||||
print("Error:", err)
|
print("Error:", err)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user