diff --git a/crates/napi/src/bindgen_runtime/module_register.rs b/crates/napi/src/bindgen_runtime/module_register.rs index 76e7ca47..e33384c5 100644 --- a/crates/napi/src/bindgen_runtime/module_register.rs +++ b/crates/napi/src/bindgen_runtime/module_register.rs @@ -206,7 +206,7 @@ pub fn get_js_function(raw_fn: ExportRegisterCallback) -> Result { .ok_or_else(|| { crate::Error::new( crate::Status::InvalidArg, - "JavaScript function does not exists".to_owned(), + "JavaScript function does not exist".to_owned(), ) }) } @@ -238,7 +238,7 @@ pub fn get_c_callback(raw_fn: ExportRegisterCallback) -> Result .ok_or_else(|| { crate::Error::new( crate::Status::InvalidArg, - "JavaScript function does not exists".to_owned(), + "JavaScript function does not exist".to_owned(), ) }) }