aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/profiler_subprovider.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sol-cov/src/profiler_subprovider.ts')
-rw-r--r--packages/sol-cov/src/profiler_subprovider.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/sol-cov/src/profiler_subprovider.ts b/packages/sol-cov/src/profiler_subprovider.ts
index c66cd1dec..34c125b86 100644
--- a/packages/sol-cov/src/profiler_subprovider.ts
+++ b/packages/sol-cov/src/profiler_subprovider.ts
@@ -1,5 +1,3 @@
-import * as _ from 'lodash';
-
import { AbstractArtifactAdapter } from './artifact_adapters/abstract_artifact_adapter';
import { ProfilerManager } from './profiler_manager';
import { TraceCollectionSubprovider } from './trace_collection_subprovider';
@@ -27,12 +25,12 @@ export class ProfilerSubprovider extends TraceCollectionSubprovider {
this._profilerManager = new ProfilerManager(artifactAdapter, isVerbose);
}
public async handleTraceInfoAsync(traceInfo: TraceInfo): Promise<void> {
- return this._profilerManager.computeCoverageAsync(traceInfo);
+ await this._profilerManager.computeCoverageAsync(traceInfo);
}
/**
* Write the test profiler results to a file in Istanbul format.
*/
public async writeProfilerOutputAsync(): Promise<void> {
- return this._profilerManager.writeProfilerOutputAsync();
+ await this._profilerManager.writeProfilerOutputAsync();
}
}