diff --git a/doc/api/n-api.md b/doc/api/n-api.md index e73c96a58d7c9a..7c6097eaa379ce 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -5976,8 +5976,8 @@ node_api_get_module_file_name(napi_env env, const char** result); * `[in] env`: The environment that the API is invoked under. * `[out] result`: A null-terminated string containing the absolute path of the - file from which the add-on was loaded. The string is owned by `env` and must - not be modified or freed. + location from which the add-on was loaded. The string is owned by `env` and + must not be modified or freed. `result` may be an empty string if the add-on loading process fails to establish the add-on's file name during loading.