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
Rafael Gonzaga 2025-01-03 11:07:56 -03:00 committed by GitHub
parent 76b80b163d
commit bf3bc4ec2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -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`

View File

@ -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,