summaryrefslogtreecommitdiff
path: root/cli/napi/js_native_api.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-12-05 14:25:25 +0100
committerGitHub <noreply@github.com>2022-12-05 14:25:25 +0100
commit918518b50643d510b26b50a9dd792d731e5479ac (patch)
tree676125468454d310a525eb424e6cbbc85f321980 /cli/napi/js_native_api.rs
parent83b6085604c28124597f6e668ca4a93941999d6a (diff)
napi: respect --quiet flag in unimplemented warnings (#16935)
Diffstat (limited to 'cli/napi/js_native_api.rs')
-rw-r--r--cli/napi/js_native_api.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/napi/js_native_api.rs b/cli/napi/js_native_api.rs
index a4726fd39..1c3b02fa9 100644
--- a/cli/napi/js_native_api.rs
+++ b/cli/napi/js_native_api.rs
@@ -737,7 +737,7 @@ fn napi_make_callback(
}
if !async_context.is_null() {
- eprintln!("napi_make_callback: async_context is not supported");
+ log::info!("napi_make_callback: async_context is not supported");
}
let recv = transmute::<napi_value, v8::Local<v8::Value>>(recv);
@@ -1006,7 +1006,7 @@ fn napi_add_finalizer(
_finalize_hint: *const c_void,
_result: *mut napi_ref,
) -> Result {
- eprintln!("napi_add_finalizer is not yet supported.");
+ log::info!("napi_add_finalizer is not yet supported.");
Ok(())
}