doc: remove obsolete --napi-modules doc entry · nodejs/node@949bc3c · GitHub
Skip to content

Commit 949bc3c

Browse files
legendecasaduh95
authored andcommitted
doc: remove obsolete --napi-modules doc entry
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net> PR-URL: #64220 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Adrian Estrada <edsadr@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
1 parent a682b53 commit 949bc3c

4 files changed

Lines changed: 2 additions & 14 deletions

File tree

doc/api/cli.md

Lines changed: 0 additions & 9 deletions

doc/node.1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,10 +435,6 @@ Note: This flag utilizes
435435
.Fl -max-old-space-size ,
436436
which may be unreliable on 32-bit platforms due to integer overflow issues.
437437
.
438-
.It Fl -napi-modules
439-
This option is a no-op.
440-
It is kept for compatibility.
441-
.
442438
.It Fl -no-deprecation
443439
Silence deprecation warnings.
444440
.

test/node-api/test_fatal/test2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (process.argv[2] === 'child') {
1212
}
1313

1414
const p = child_process.spawnSync(
15-
process.execPath, [ '--napi-modules', __filename, 'child' ]);
15+
process.execPath, [ __filename, 'child' ]);
1616
assert.ifError(p.error);
1717
assert.ok(p.stderr.toString().includes(
1818
'FATAL ERROR: test_fatal::Test fatal message'));

test/parallel/test-process-env-allowed-flags-are-documented.js

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)