mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
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
This commit is contained in:
parent
560ad0331b
commit
064a73f7a0
15 changed files with 60 additions and 179 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue