[HTML5] Fix JS "tools" editor plugin.

Needed update after file/dir access refactoring.
This commit is contained in:
Fabio Alessandrelli 2022-05-10 23:56:32 +02:00
parent e8110474b6
commit 39d9a5540c
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ void JavaScriptToolsEditorPlugin::_zip_file(String p_path, String p_base_path, z
void JavaScriptToolsEditorPlugin::_zip_recursive(String p_path, String p_base_path, zipFile p_zip) {
Ref<DirAccess> dir = DirAccess::open(p_path);
if (!dir) {
if (dir.is_null()) {
WARN_PRINT("Unable to open directory for zipping: " + p_path);
return;
}