aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/coverage_subprovider.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-06-13 05:09:42 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-06-13 05:09:42 +0800
commitbcc76b37641a5f4c05fbe84059ed1f2a842bade8 (patch)
tree4865cc86318eca7e49258b87e05c00cac5c3d063 /packages/sol-cov/src/coverage_subprovider.ts
parent33f066910021bc4969f4d564fc1648f6769ee3ec (diff)
downloaddexon-0x-contracts-bcc76b37641a5f4c05fbe84059ed1f2a842bade8.tar.gz
dexon-0x-contracts-bcc76b37641a5f4c05fbe84059ed1f2a842bade8.tar.zst
dexon-0x-contracts-bcc76b37641a5f4c05fbe84059ed1f2a842bade8.zip
Fix linter errors
Diffstat (limited to 'packages/sol-cov/src/coverage_subprovider.ts')
-rw-r--r--packages/sol-cov/src/coverage_subprovider.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/sol-cov/src/coverage_subprovider.ts b/packages/sol-cov/src/coverage_subprovider.ts
index 1dcbfcbfe..6fb709e86 100644
--- a/packages/sol-cov/src/coverage_subprovider.ts
+++ b/packages/sol-cov/src/coverage_subprovider.ts
@@ -1,5 +1,3 @@
-import * as _ from 'lodash';
-
import { AbstractArtifactAdapter } from './artifact_adapters/abstract_artifact_adapter';
import { CoverageManager } from './coverage_manager';
import { TraceCollectionSubprovider } from './trace_collection_subprovider';
@@ -27,12 +25,12 @@ export class CoverageSubprovider extends TraceCollectionSubprovider {
this._coverageManager = new CoverageManager(artifactAdapter, isVerbose);
}
public async handleTraceInfoAsync(traceInfo: TraceInfo): Promise<void> {
- return this._coverageManager.computeCoverageAsync(traceInfo);
+ await this._coverageManager.computeCoverageAsync(traceInfo);
}
/**
* Write the test coverage results to a file in Istanbul format.
*/
public async writeCoverageAsync(): Promise<void> {
- return this._coverageManager.writeCoverageAsync();
+ await this._coverageManager.writeCoverageAsync();
}
}