Skip to content

Commit

Permalink
test: fix typo in comment in binding.c
Browse files Browse the repository at this point in the history
PR-URL: #38220
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
tniessen authored and targos committed May 1, 2021
1 parent 95c7dab commit a4275ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node-api/test_threadsafe_function/binding.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ static void call_js(napi_env env, napi_value cb, void* hint, void* data) {
}

static napi_ref alt_ref;
// Getting the data into JS with the alternative referece
// Getting the data into JS with the alternative reference
static void call_ref(napi_env env, napi_value _, void* hint, void* data) {
if (!(env == NULL || alt_ref == NULL)) {
napi_value fn, argv, undefined;
Expand Down

0 comments on commit a4275ee

Please sign in to comment.