summaryrefslogtreecommitdiff
path: root/platform/javascript/export
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2019-03-06 21:20:18 +0900
committervolzhs <volzhs@gmail.com>2019-03-06 21:20:18 +0900
commit8920bb8c1b6aebb665d376890bd6971f416b8609 (patch)
tree839bc475bee6c9034770c83196813465dbe54f26 /platform/javascript/export
parent2940475c716eab517ca52957acc8714f195d32cb (diff)
Fix directory check when exporting project
Fix #26702
Diffstat (limited to 'platform/javascript/export')
-rw-r--r--platform/javascript/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/export/export.cpp b/platform/javascript/export/export.cpp
index b7ca1eb1d7..871a8769d9 100644
--- a/platform/javascript/export/export.cpp
+++ b/platform/javascript/export/export.cpp
@@ -211,7 +211,7 @@ Error EditorExportPlatformJavaScript::export_project(const Ref<EditorExportPrese
template_path = find_export_template(EXPORT_TEMPLATE_WEBASSEMBLY_RELEASE);
}
- if (!FileAccess::exists(p_path.get_base_dir())) {
+ if (!DirAccess::exists(p_path.get_base_dir())) {
return ERR_FILE_BAD_PATH;
}