summaryrefslogtreecommitdiff
path: root/cli/args
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args')
-rw-r--r--cli/args/flags.rs4
-rw-r--r--cli/args/mod.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index e558fe391..fa1534e0c 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -417,7 +417,7 @@ pub struct Flags {
pub reload: bool,
pub seed: Option<u64>,
pub unstable: bool,
- pub unstable_bare_node_builtlins: bool,
+ pub unstable_bare_node_builtins: bool,
pub unstable_byonm: bool,
pub unstable_features: Vec<String>,
pub unsafely_ignore_certificate_errors: Option<Vec<String>>,
@@ -856,7 +856,7 @@ pub fn flags_from_vec(args: Vec<String>) -> clap::error::Result<Flags> {
.push(deno_runtime::deno_cron::UNSTABLE_FEATURE_NAME.to_string());
}
- flags.unstable_bare_node_builtlins =
+ flags.unstable_bare_node_builtins =
matches.get_flag("unstable-bare-node-builtins");
flags.unstable_byonm = matches.get_flag("unstable-byonm");
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index 1d28df124..fa8d94de5 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -1249,8 +1249,8 @@ impl CliOptions {
self.flags.unstable
}
- pub fn unstable_bare_node_builtlins(&self) -> bool {
- self.flags.unstable_bare_node_builtlins
+ pub fn unstable_bare_node_builtins(&self) -> bool {
+ self.flags.unstable_bare_node_builtins
|| self
.maybe_config_file()
.as_ref()