aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/collect_coverage_entries.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-18 21:01:18 +0800
committerFabio Berger <me@fabioberger.com>2018-03-18 21:01:18 +0800
commit4948551703fb3cb9f8470d9f4a61a9a5473e5afa (patch)
tree2e7d4d2e9c98cb6bebf7bdd17444d4b351220018 /packages/sol-cov/src/collect_coverage_entries.ts
parentd7bf003d511321ec6cb8814cb1549c46b4efba86 (diff)
parentd4c1b3b0bd26e730ce6687469cdf7283877543e1 (diff)
downloaddexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.tar.gz
dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.tar.zst
dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.zip
merge development
Diffstat (limited to 'packages/sol-cov/src/collect_coverage_entries.ts')
-rw-r--r--packages/sol-cov/src/collect_coverage_entries.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-cov/src/collect_coverage_entries.ts b/packages/sol-cov/src/collect_coverage_entries.ts
index 6da81fbfc..97218616c 100644
--- a/packages/sol-cov/src/collect_coverage_entries.ts
+++ b/packages/sol-cov/src/collect_coverage_entries.ts
@@ -10,7 +10,7 @@ import { getLocationByOffset } from './source_maps';
// Parsing source code for each transaction/code is slow and therefore we cache it
const coverageEntriesBySourceHash: { [sourceHash: string]: CoverageEntriesDescription } = {};
-export const collectCoverageEntries = (contractSource: string, fileName: string) => {
+export const collectCoverageEntries = (contractSource: string) => {
const sourceHash = ethUtil.sha3(contractSource).toString('hex');
if (_.isUndefined(coverageEntriesBySourceHash[sourceHash])) {
const ast = parser.parse(contractSource, { range: true });