summaryrefslogtreecommitdiff
path: root/cli/args/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r--cli/args/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index 9bc409307..dbb3e6e46 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -1653,6 +1653,10 @@ impl CliOptions {
&self.flags.v8_flags
}
+ pub fn code_cache_enabled(&self) -> bool {
+ self.flags.code_cache_enabled
+ }
+
pub fn watch_paths(&self) -> Vec<PathBuf> {
let mut full_paths = Vec::new();
if let DenoSubcommand::Run(RunFlags {