From bca23e64339f9b41272e4a01e4c1a86602e5c1e4 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Sun, 24 Nov 2019 07:42:30 -0800 Subject: refactor: Elevate DenoPermissions lock to top level (#3398) --- cli/worker.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/worker.rs') 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, -- cgit v1.2.3