diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-12-05 14:25:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 14:25:25 +0100 |
commit | 918518b50643d510b26b50a9dd792d731e5479ac (patch) | |
tree | 676125468454d310a525eb424e6cbbc85f321980 /cli/napi/env.rs | |
parent | 83b6085604c28124597f6e668ca4a93941999d6a (diff) |
napi: respect --quiet flag in unimplemented warnings (#16935)
Diffstat (limited to 'cli/napi/env.rs')
-rw-r--r-- | cli/napi/env.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/napi/env.rs b/cli/napi/env.rs index df9af522f..0adb0481e 100644 --- a/cli/napi/env.rs +++ b/cli/napi/env.rs @@ -59,7 +59,7 @@ fn napi_add_env_cleanup_hook( _hook: extern "C" fn(*const c_void), _data: *const c_void, ) -> Result { - eprintln!("napi_add_env_cleanup_hook is currently not supported"); + log::info!("napi_add_env_cleanup_hook is currently not supported"); Ok(()) } @@ -69,7 +69,7 @@ fn napi_remove_env_cleanup_hook( _hook: extern "C" fn(*const c_void), _data: *const c_void, ) -> Result { - eprintln!("napi_remove_env_cleanup_hook is currently not supported"); + log::info!("napi_remove_env_cleanup_hook is currently not supported"); Ok(()) } |