Skip to content

Commit 8cda89d

Browse files
committed
doc: fix name of the flag in initialize() docs
PR-URL: nodejs/node#49158 Backport-PR-URL: nodejs/node#50669 Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 50c10ac commit 8cda89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graal-nodejs/doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ added: REPLACEME
764764
The `initialize` hook provides a way to define a custom function that runs
765765
in the loader's thread when the loader is initialized. Initialization happens
766766
when the loader is registered via [`register`][] or registered via the
767-
`--loader` command line option.
767+
`--experimental-loader` command line option.
768768
769769
This hook can send and receive data from a [`register`][] invocation, including
770770
ports and other transferrable objects. The return value of `initialize` must be

0 commit comments

Comments
 (0)