mirror of https://github.com/nodejs/node.git
src: drop --experimental-permission in favour of --permission
Refs: https://github.com/nodejs/node/pull/56201 PR-URL: https://github.com/nodejs/node/pull/56240 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>pull/56455/head
parent
76b80b163d
commit
bf3bc4ec2f
|
@ -3088,7 +3088,6 @@ one is included in the list below.
|
|||
* `--experimental-json-modules`
|
||||
* `--experimental-loader`
|
||||
* `--experimental-modules`
|
||||
* `--experimental-permission`
|
||||
* `--experimental-print-required-tla`
|
||||
* `--experimental-require-module`
|
||||
* `--experimental-shadow-realm`
|
||||
|
|
|
@ -470,7 +470,6 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
|
|||
&EnvironmentOptions::permission,
|
||||
kAllowedInEnvvar,
|
||||
false);
|
||||
AddAlias("--experimental-permission", "--permission");
|
||||
AddOption("--allow-fs-read",
|
||||
"allow permissions to read the filesystem",
|
||||
&EnvironmentOptions::allow_fs_read,
|
||||
|
|
Loading…
Reference in New Issue