diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-09-17 02:13:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 01:13:34 +0000 |
commit | aaf2bf4bfbf90bed0b6e9812f337f057d1d24f93 (patch) | |
tree | c8e9f889c5864fcdc9d14bda0b13190449deae00 /cli/main.rs | |
parent | 01b5dfd9ea927d41492fde352cd79f7b972439b9 (diff) |
chore: upgrade deno_core (#25674)
No functional changes, just removes dead code.
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/main.rs b/cli/main.rs index 6a4fa6f9d..10d9ead4e 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -417,18 +417,6 @@ pub(crate) fn unstable_exit_cb(feature: &str, api_name: &str) { std::process::exit(70); } -// TODO(bartlomieju): remove when `--unstable` flag is removed. -#[allow(clippy::print_stderr)] -pub(crate) fn unstable_warn_cb(feature: &str, api_name: &str) { - eprintln!( - "⚠️ {}", - colors::yellow(format!( - "The `{}` API was used with `--unstable` flag. The `--unstable` flag is deprecated and will be removed in Deno 2.0. Use granular `--unstable-{}` instead.\nLearn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags", - api_name, feature - )) - ); -} - pub fn main() { setup_panic_hook(); |