summaryrefslogtreecommitdiff
path: root/cli/program_state.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-04-27 12:44:36 +0200
committerGitHub <noreply@github.com>2021-04-27 12:44:36 +0200
commitbaf7092ea2ac97bee93213ddf639bb9b41f0888e (patch)
treea89f9794f4e1fcb0cd8eae9d1e8058d90668a8f4 /cli/program_state.rs
parent83770e898e365579dcc30650f706116a312bd9f6 (diff)
remove --unstable flag from CLI features (#10190)
Diffstat (limited to 'cli/program_state.rs')
-rw-r--r--cli/program_state.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/program_state.rs b/cli/program_state.rs
index 056928e7b..c52f4efef 100644
--- a/cli/program_state.rs
+++ b/cli/program_state.rs
@@ -34,14 +34,6 @@ use std::fs::read;
use std::sync::Arc;
use std::sync::Mutex;
-pub fn exit_unstable(api_name: &str) {
- eprintln!(
- "Unstable API '{}'. The --unstable flag must be provided.",
- api_name
- );
- std::process::exit(70);
-}
-
/// This structure represents state of single "deno" program.
///
/// It is shared by all created workers (thus V8 isolates).