aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/profiler_manager.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-06-13 05:11:11 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-06-13 05:11:11 +0800
commit627ea6c860e97a6e04877f10f9f842c5d5a907d6 (patch)
treef49441f5d72f5e16dc8b29614bee05093e4e3151 /packages/sol-cov/src/profiler_manager.ts
parentbcc76b37641a5f4c05fbe84059ed1f2a842bade8 (diff)
downloaddexon-sol-tools-627ea6c860e97a6e04877f10f9f842c5d5a907d6.tar
dexon-sol-tools-627ea6c860e97a6e04877f10f9f842c5d5a907d6.tar.gz
dexon-sol-tools-627ea6c860e97a6e04877f10f9f842c5d5a907d6.tar.bz2
dexon-sol-tools-627ea6c860e97a6e04877f10f9f842c5d5a907d6.tar.lz
dexon-sol-tools-627ea6c860e97a6e04877f10f9f842c5d5a907d6.tar.xz
dexon-sol-tools-627ea6c860e97a6e04877f10f9f842c5d5a907d6.tar.zst
dexon-sol-tools-627ea6c860e97a6e04877f10f9f842c5d5a907d6.zip
Rename computeCoverageAsync -> computeSingleTraceCoverageAsync
Diffstat (limited to 'packages/sol-cov/src/profiler_manager.ts')
-rw-r--r--packages/sol-cov/src/profiler_manager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-cov/src/profiler_manager.ts b/packages/sol-cov/src/profiler_manager.ts
index bec92f424..88e183cbd 100644
--- a/packages/sol-cov/src/profiler_manager.ts
+++ b/packages/sol-cov/src/profiler_manager.ts
@@ -93,7 +93,7 @@ export class ProfilerManager {
await mkdirpAsync('coverage');
fs.writeFileSync('coverage/coverage.json', stringifiedCoverage);
}
- public async computeCoverageAsync(traceInfo: TraceInfo): Promise<void> {
+ public async computeSingleTraceCoverageAsync(traceInfo: TraceInfo): Promise<void> {
if (_.isUndefined(this._contractsData)) {
this._contractsData = await this._artifactAdapter.collectContractsDataAsync();
}