summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-14 22:58:06 +0100
committerGitHub <noreply@github.com>2024-01-14 21:58:06 +0000
commita918804ee08071d2193c197031581ae24f12e492 (patch)
treea2f14f051eef408b735b42c52300689f968410cf /cli/args/flags.rs
parentfc17ddbcc43708b6265758bc3e034ab0b5fcb8c3 (diff)
feat(unstable): remove --unstable-workspaces flag (#21891)
The workspaces feature is still considered unstable and can change. Requiring this flag hinders DX.
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index 738bf9948..97cfbcaff 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -902,7 +902,6 @@ pub fn flags_from_vec(args: Vec<String>) -> clap::error::Result<Flags> {
matches.get_flag("unstable-bare-node-builtins");
flags.unstable_byonm = matches.get_flag("unstable-byonm");
flags.unstable_sloppy_imports = matches.get_flag("unstable-sloppy-imports");
- flags.unstable_workspaces = matches.get_flag("unstable-workspaces");
if matches.get_flag("quiet") {
flags.log_level = Some(Level::Error);
@@ -1030,15 +1029,6 @@ fn clap_root() -> Command {
.value_parser(FalseyValueParser::new())
.action(ArgAction::SetTrue)
.global(true),
- )
- .arg(
- Arg::new("unstable-workspaces")
- .long("unstable-workspaces")
- .help("Enable unstable 'workspaces' feature")
- .env("DENO_UNSTABLE_WORKSPACES")
- .value_parser(FalseyValueParser::new())
- .action(ArgAction::SetTrue)
- .global(true),
);
for (flag_name, help, _) in crate::UNSTABLE_GRANULAR_FLAGS {