gitignore, null Array fix

This commit is contained in:
Nordup 2024-07-02 12:08:05 +04:00
parent 94497ae901
commit 643f750156
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.DS_Store
.vscode/*

View file

@ -26,7 +26,7 @@ func _on_search_text_changed(query: String) -> void:
await prompt_request(query) await prompt_request(query)
clear() clear()
var prompts: Array = JSON.parse_string(result_str) var prompts = JSON.parse_string(result_str)
if prompts == null or prompts.is_empty(): if prompts == null or prompts.is_empty():
return return