Skip to content

Commit

Permalink
heed review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Feb 7, 2021
1 parent 602031c commit 96caf11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Expand Up @@ -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.
Expand Down

0 comments on commit 96caf11

Please sign in to comment.