Use JSON::stringify where possible
This commit is contained in:
1 parent
28f642097a
commit
fe56c1ff75
5 files changed
+5
-9
No files matched your search
@@ -2639,8 +2639,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
|
||||
}
|
||||
if (user_data.libs.size() > 0) {
|
||||
Ref<FileAccess> fa = FileAccess::open(GDNATIVE_LIBS_PATH, FileAccess::WRITE);
|
||||
JSON json;
|
||||
fa->store_string(json.stringify(user_data.libs, "\t"));
|
||||
fa->store_string(JSON::stringify(user_data.libs, "\t"));
|
||||
}
|
||||
} else {
|
||||
print_verbose("Saving apk expansion file..");
|
||||
|
||||
Reference in new issue
Block a user