summaryrefslogtreecommitdiff
path: root/runtime/ops
diff options
context:
space:
mode:
authorHasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com>2024-08-27 14:45:27 +0300
committerGitHub <noreply@github.com>2024-08-27 13:45:27 +0200
commit672ce3041a3dd9e2a6aab5f0ef79ec2be9cf1cba (patch)
tree4ae58965c192806280c7c9711d5764a6377db0df /runtime/ops
parent7e68cce8159d55fd597f0da3e00f794200b9928f (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 'runtime/ops')
-rw-r--r--runtime/ops/bootstrap.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/bootstrap.rs b/runtime/ops/bootstrap.rs
index 0d8c1dab8..a60544534 100644
--- a/runtime/ops/bootstrap.rs
+++ b/runtime/ops/bootstrap.rs
@@ -100,9 +100,9 @@ pub fn op_bootstrap_unstable_args(state: &mut OpState) -> Vec<String> {
}
let mut flags = Vec::new();
- for (name, _, id) in crate::UNSTABLE_GRANULAR_FLAGS.iter() {
- if options.unstable_features.contains(id) {
- flags.push(format!("--unstable-{}", name));
+ for granular_flag in crate::UNSTABLE_GRANULAR_FLAGS.iter() {
+ if options.unstable_features.contains(&granular_flag.id) {
+ flags.push(format!("--unstable-{}", granular_flag.name));
}
}
flags