summaryrefslogtreecommitdiff
path: root/cli/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/state.rs')
-rw-r--r--cli/state.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/state.rs b/cli/state.rs
index 38ea5d750..71699f382 100644
--- a/cli/state.rs
+++ b/cli/state.rs
@@ -242,7 +242,7 @@ impl State {
}
}
-fn exit_unstable(api_name: &str) {
+pub fn exit_unstable(api_name: &str) {
eprintln!(
"Unstable API '{}'. The --unstable flag must be provided.",
api_name
@@ -322,6 +322,7 @@ impl ModuleLoader for State {
maybe_referrer,
target_lib,
permissions,
+ is_dyn_import,
)
.await?;
Ok(deno_core::ModuleSource {