diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-03-26 12:34:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 12:34:25 -0400 |
commit | f46e39c5c5435696daab9df075482e6e5c83533b (patch) | |
tree | 7699e06977e1149b5d056739f981c0217a91ed5e /runtime/permissions.rs | |
parent | 6c6f3e87c1a60bc96d006812a670212eeacd1257 (diff) |
remove macro_use (#9884)
Diffstat (limited to 'runtime/permissions.rs')
-rw-r--r-- | runtime/permissions.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/permissions.rs b/runtime/permissions.rs index ba150f47e..af05e69d5 100644 --- a/runtime/permissions.rs +++ b/runtime/permissions.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. - use crate::colors; use crate::fs_util::resolve_from_cwd; use deno_core::error::custom_error; @@ -9,6 +8,7 @@ use deno_core::serde::Deserialize; use deno_core::serde::Serialize; use deno_core::url; use deno_core::ModuleSpecifier; +use log::debug; use std::collections::HashSet; use std::fmt; use std::hash::Hash; @@ -717,7 +717,7 @@ fn permission_prompt(_message: &str) -> bool { } #[cfg(test)] -lazy_static! { +lazy_static::lazy_static! { /// Lock this when you use `set_prompt_result` in a test case. static ref PERMISSION_PROMPT_GUARD: Mutex<()> = Mutex::new(()); } |