Skip to content

Commit

Permalink
add the all_properties flag, no effect but clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Sep 22, 2020
1 parent 130c902 commit 8de0bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/neon-runtime/src/napi/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub unsafe extern "C" fn get_own_property_names(out: &mut Local, env: Env, objec
env,
object,
napi::napi_key_collection_mode::napi_key_own_only,
napi::napi_key_filter::napi_key_skip_symbols,
napi::napi_key_filter::napi_key_all_properties | napi::napi_key_filter::napi_key_skip_symbols,
napi::napi_key_conversion::napi_key_numbers_to_strings,
property_names.as_mut_ptr(),
) != napi::napi_status::napi_ok {
Expand Down

0 comments on commit 8de0bf4

Please sign in to comment.