From 4d82737efed45e16d0f6f997825889d55c069a16 Mon Sep 17 00:00:00 2001 From: Ranger <32590310+southorange0929@users.noreply.github.com> Date: Tue, 2 Jan 2024 13:23:45 +0800 Subject: [PATCH] chore: fix async_work status typo (#1883) --- crates/napi/src/async_work.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/napi/src/async_work.rs b/crates/napi/src/async_work.rs index 8ea5c35a..7a9a43e3 100644 --- a/crates/napi/src/async_work.rs +++ b/crates/napi/src/async_work.rs @@ -138,7 +138,7 @@ unsafe extern "C" fn complete( unsafe { sys::napi_reject_deferred(env, deferred, JsError::from(e).into_value(env)) }; debug_assert!( status == sys::Status::napi_ok, - "Reject promise failedm status: {:?}", + "Reject promise failed, status: {:?}", crate::Status::from(status) ); }