diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-11-24 07:42:30 -0800 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-11-24 10:42:30 -0500 |
commit | bca23e64339f9b41272e4a01e4c1a86602e5c1e4 (patch) | |
tree | fe72fe56fd0f9ffa8e7392ec1941cce3300915ec /cli/worker.rs | |
parent | 9e97eb287954393615ec89d42e7ca5548ecb0881 (diff) |
refactor: Elevate DenoPermissions lock to top level (#3398)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index b9802d581..5a3bc7efa 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -248,6 +248,7 @@ mod tests { let (int, ext) = ThreadSafeState::create_channels(); let state = ThreadSafeState::new( global_state, + None, Some(module_specifier.clone()), true, int, @@ -288,6 +289,7 @@ mod tests { let (int, ext) = ThreadSafeState::create_channels(); let state = ThreadSafeState::new( global_state, + None, Some(module_specifier.clone()), true, int, @@ -331,6 +333,7 @@ mod tests { let (int, ext) = ThreadSafeState::create_channels(); let state = ThreadSafeState::new( global_state.clone(), + None, Some(module_specifier.clone()), true, int, |