| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d79e7d6 commit b2fc3b5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -246,7 +246,7 @@ napi_value Method(napi_env env, napi_callback_info args) { | |||
| 246 | 246 | napi_value greeting; | |
| 247 | 247 | napi_status status; | |
| 248 | 248 | ||
| 249 | - status = napi_create_string_utf8(env, "hello", 6, &greeting); | ||
| 249 | + status = napi_create_string_utf8(env, "hello", NAPI_AUTO_LENGTH, &greeting); | ||
| 250 | 250 | if (status != napi_ok) return nullptr; | |
| 251 | 251 | return greeting; | |
| 252 | 252 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments