summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 604b786f9..5a5972e92 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -398,6 +398,7 @@ async fn info_command(
// info accesses dynamically imported modules just for their information
// so we allow access to all of them.
Permissions::allow_all(),
+ Permissions::allow_all(),
)?));
let mut builder = module_graph::GraphBuilder::new(
handler,
@@ -478,6 +479,7 @@ async fn cache_command(
specifier,
lib.clone(),
Permissions::allow_all(),
+ Permissions::allow_all(),
false,
program_state.maybe_import_map.clone(),
)
@@ -544,6 +546,7 @@ async fn create_module_graph_and_maybe_check(
// when bundling, dynamic imports are only access for their type safety,
// therefore we will allow the graph to access any module.
Permissions::allow_all(),
+ Permissions::allow_all(),
)?));
let mut builder = module_graph::GraphBuilder::new(
handler,
@@ -780,6 +783,7 @@ async fn run_with_watch(flags: Flags, script: String) -> Result<(), AnyError> {
let handler = Arc::new(Mutex::new(FetchHandler::new(
&program_state,
Permissions::allow_all(),
+ Permissions::allow_all(),
)?));
let mut builder = module_graph::GraphBuilder::new(
handler,
@@ -942,6 +946,7 @@ async fn test_command(
let handler = Arc::new(Mutex::new(FetchHandler::new(
&program_state,
Permissions::allow_all(),
+ Permissions::allow_all(),
)?));
let paths_to_watch: Vec<_> = include.iter().map(PathBuf::from).collect();