diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-05-11 01:04:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 01:04:48 +0200 |
commit | 1eebf0d789f44870a32a1b36a6609a19647a836f (patch) | |
tree | 726c882598fafc8cd85c63198455eddbeda8e9ae /platform/javascript/api/javascript_tools_editor_plugin.cpp | |
parent | 694baff233c2efb4675f708389c9ff2bbc00bc03 (diff) | |
parent | d2bb5b88cc6215f8312f24bec29f8ddc0d75d9a5 (diff) | |
download | redot-engine-1eebf0d789f44870a32a1b36a6609a19647a836f.tar.gz |
Merge pull request #60937 from Faless/js/4.x_webgl2_include
Diffstat (limited to 'platform/javascript/api/javascript_tools_editor_plugin.cpp')
-rw-r--r-- | platform/javascript/api/javascript_tools_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/api/javascript_tools_editor_plugin.cpp b/platform/javascript/api/javascript_tools_editor_plugin.cpp index 31ce71127d..198af61eff 100644 --- a/platform/javascript/api/javascript_tools_editor_plugin.cpp +++ b/platform/javascript/api/javascript_tools_editor_plugin.cpp @@ -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; } |