summaryrefslogtreecommitdiff
path: root/cli/tools/doc.rs
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-05-17 09:44:38 +0200
committerLuca Casonato <lucacasonato@yahoo.com>2021-05-17 09:45:54 +0200
commit5151afa123a9635d2f4de9555f8843460b284a11 (patch)
tree7c4686c3f5562dc27d8b863897225236aeb97b14 /cli/tools/doc.rs
parent910935c07125e4710830be0df32a16c3ef278ba6 (diff)
fix: static import permissions in dynamic imports
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tools/doc.rs')
-rw-r--r--cli/tools/doc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tools/doc.rs b/cli/tools/doc.rs
index 938944f2a..5794b494f 100644
--- a/cli/tools/doc.rs
+++ b/cli/tools/doc.rs
@@ -117,6 +117,7 @@ pub async fn print_docs(
let handler = Arc::new(Mutex::new(FetchHandler::new(
&program_state,
Permissions::allow_all(),
+ Permissions::allow_all(),
)?));
let mut builder = module_graph::GraphBuilder::new(
handler,