From 6d7dfa8b778228127d2a33a3ecb7f47b90ad499e Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Thu, 12 Dec 2024 12:05:59 -0300 Subject: [PATCH] src: drop --experimental-permission in favour of --permission Refs: https://github.com/nodejs/node/pull/56201 --- doc/api/cli.md | 1 - src/node_options.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 9efcf3953ffddf..473c58267c8326 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -3049,7 +3049,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` diff --git a/src/node_options.cc b/src/node_options.cc index cccb621aa3e7e6..1b7bfc53d9cf08 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -461,7 +461,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,