diff --git a/interfaces/kits/js/src/mod_fs/properties/ani/listfile_ani.cpp b/interfaces/kits/js/src/mod_fs/properties/ani/listfile_ani.cpp index c9ce42506a4a9a9f98872062fbe4539dea06b703..514d8d69ced021732b91edcb4ffffc49947e7d2d 100644 --- a/interfaces/kits/js/src/mod_fs/properties/ani/listfile_ani.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/ani/listfile_ani.cpp @@ -56,7 +56,7 @@ tuple ParseIntParam(ani_env *env, ani_object obj, string tag) } env->Reference_IsUndefined(result_ref, &isUndefined); if (isUndefined) { - return { false, result }; + return { true, result }; } ani_int result_ref_res; if (ANI_OK !=