diff options
author | HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> | 2024-08-27 14:45:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 13:45:27 +0200 |
commit | 672ce3041a3dd9e2a6aab5f0ef79ec2be9cf1cba (patch) | |
tree | 4ae58965c192806280c7c9711d5764a6377db0df /cli/factory.rs | |
parent | 7e68cce8159d55fd597f0da3e00f794200b9928f (diff) |
fix: removed unstable-htttp from deno help (#25216)
Closes #25210 .
Removed --unstable-http from being displayed on deno run --help=unstable
---------
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/factory.rs')
-rw-r--r-- | cli/factory.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/factory.rs b/cli/factory.rs index 224984643..1d1639815 100644 --- a/cli/factory.rs +++ b/cli/factory.rs @@ -723,9 +723,9 @@ impl CliFactory { checker.warn_on_legacy_unstable(); } let unstable_features = cli_options.unstable_features(); - for (flag_name, _, _) in crate::UNSTABLE_GRANULAR_FLAGS { - if unstable_features.contains(&flag_name.to_string()) { - checker.enable_feature(flag_name); + for granular_flag in crate::UNSTABLE_GRANULAR_FLAGS { + if unstable_features.contains(&granular_flag.name.to_string()) { + checker.enable_feature(granular_flag.name); } } |