diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2021-04-12 04:15:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 11:15:43 +0900 |
commit | fefe93c91b63e35bf88f5f432f0cca09948d0623 (patch) | |
tree | bf8f3e031cf558161277e01e4ca2e2c7817ef6ab /runtime/ops/runtime.rs | |
parent | 8b49d948f58e0665e87e63f7e154ab53fa60a939 (diff) |
feat(runtime/permissions): prompt fallback (#9376)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/ops/runtime.rs')
-rw-r--r-- | runtime/ops/runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index ef7445b11..d694cb9c9 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -31,7 +31,7 @@ fn op_main_module( if main_url.scheme() == "file" { let main_path = std::env::current_dir().unwrap().join(main_url.to_string()); state - .borrow::<Permissions>() + .borrow_mut::<Permissions>() .read .check_blind(&main_path, "main_module")?; } |