Commit 1831297
committed
doc: name both flags a worker's execArgv needs
--vfs-load requires --experimental-vfs, so a worker that is handed its own
execArgv needs both of them to load a script from the mount, not only
--vfs-load. Passing --vfs-load alone happens to mount the source today,
because the requirement is checked once for the process rather than for
each thread's execArgv, but it leaves node:vfs unavailable to the
worker's own code, and it is not what the option documents.
Name both options in the worker paragraph, and say that
--experimental-vfs is also what makes node:vfs available there.
Signed-off-by: Philipp Dunkel <pip@pipobscure.com>1 parent fc04b57 commit 1831297
2 files changed
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3827 | 3827 | | |
3828 | 3828 | | |
3829 | 3829 | | |
3830 | | - | |
3831 | | - | |
3832 | | - | |
3833 | | - | |
3834 | | - | |
| 3830 | + | |
| 3831 | + | |
| 3832 | + | |
| 3833 | + | |
| 3834 | + | |
| 3835 | + | |
3835 | 3836 | | |
3836 | 3837 | | |
3837 | 3838 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1917 | 1917 | | |
1918 | 1918 | | |
1919 | 1919 | | |
1920 | | - | |
1921 | | - | |
1922 | | - | |
1923 | | - | |
1924 | | - | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
1925 | 1926 | | |
1926 | 1927 | | |
1927 | 1928 | | |
| |||
0 commit comments