doc: use ffi.suffix in permission example · nodejs/node@be31301 · GitHub
Skip to content

Commit be31301

Browse files
agape1225aduh95
authored andcommitted
doc: use ffi.suffix in permission example
The `--allow-ffi` example in cli.md hard-coded the Linux-only `.so` extension. node:ffi already exposes `suffix` for exactly this case, and doc/api/ffi.md's own examples use it. Do the same here. Assisted-by: Claude Sonnet 5 Signed-off-by: agape1225 <49804691+agape1225@users.noreply.github.com> PR-URL: #64914 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent b98294b commit be31301

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

doc/api/cli.md

Lines changed: 2 additions & 2 deletions

doc/node.1

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)