diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-09 22:44:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 23:44:29 +0200 |
| commit | 064a73f7a08eb12d99fcdf8844e9ce5db62be78b (patch) | |
| tree | a1672b2151d3e7c5db490dad9fc3917064ee64aa /cli/args/mod.rs | |
| parent | 560ad0331bf99a2564f53201cd086ff902901bfe (diff) | |
BREAKING: Remove `--unstable` flag (#25522)
This commit effectively removes the --unstable flag.
It's still being parsed, but it only prints a warning that a granular
flag should be used instead and doesn't actually enable any
unstable feature.
Closes https://github.com/denoland/deno/issues/25485
Closes https://github.com/denoland/deno/issues/23237
Diffstat (limited to 'cli/args/mod.rs')
| -rw-r--r-- | cli/args/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index f7623323f..203ceec50 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -1548,10 +1548,6 @@ impl CliOptions { &self.flags.unsafely_ignore_certificate_errors } - pub fn legacy_unstable_flag(&self) -> bool { - self.flags.unstable_config.legacy_flag_enabled - } - pub fn unstable_bare_node_builtins(&self) -> bool { self.flags.unstable_config.bare_node_builtins || self.workspace().has_unstable("bare-node-builtins") |
