This commit is contained in:
retoor 2025-03-19 21:25:34 +01:00
parent bb1c1667c7
commit 9262512a1b

View File

@ -425,7 +425,7 @@ char* tool_function_directory_glob(char* target_dir) {
if (glob(target_dir, GLOB_TILDE, NULL, &results) != 0) {
perror("glob failed");
return NULL;
return strdup("");
}
json_object* json_array = json_object_new_array();