VCS: Fix GDExtension return types for VCS after Array type hardening

This commit is contained in:
Twarit Waikar 2022-12-20 15:36:14 +05:30
parent dcb3754db0
commit 18df2f36e8
3 changed files with 6 additions and 6 deletions

View file

@ -57,7 +57,7 @@ void EditorVCSInterface::set_credentials(String p_username, String p_password, S
}
List<String> EditorVCSInterface::get_remotes() {
TypedArray<Dictionary> result;
TypedArray<String> result;
if (!GDVIRTUAL_CALL(_get_remotes, result)) {
UNIMPLEMENTED();
return {};
@ -137,7 +137,7 @@ List<EditorVCSInterface::Commit> EditorVCSInterface::get_previous_commits(int p_
}
List<String> EditorVCSInterface::get_branch_list() {
TypedArray<Dictionary> result;
TypedArray<String> result;
if (!GDVIRTUAL_CALL(_get_branch_list, result)) {
UNIMPLEMENTED();
return {};