mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
* Revert "refactor: Worker is not a Future (#7895)" This reverts commitf4357f0ff9
. * Revert "refactor(core): JsRuntime is not a Future (#7855)" This reverts commitd8879feb8c
. * Revert "fix(core): module execution with top level await (#7672)" This reverts commitc7c7677825
.
This commit is contained in:
parent
782e6a2ed5
commit
08bb8b3d53
17 changed files with 225 additions and 495 deletions
|
@ -1,6 +1,7 @@
|
|||
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
use crate::colors;
|
||||
use crate::inspector::DenoInspector;
|
||||
use crate::inspector::InspectorSession;
|
||||
use deno_core::error::AnyError;
|
||||
use deno_core::serde_json;
|
||||
|
@ -13,7 +14,8 @@ pub struct CoverageCollector {
|
|||
}
|
||||
|
||||
impl CoverageCollector {
|
||||
pub fn new(session: Box<InspectorSession>) -> Self {
|
||||
pub fn new(inspector_ptr: *mut DenoInspector) -> Self {
|
||||
let session = InspectorSession::new(inspector_ptr);
|
||||
Self { session }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue