aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-04-16 22:38:55 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-04-16 23:43:59 +0800
commitd8ef76fd5efe63ec8f6205a73494ce388e64391f (patch)
tree22a5740584029830e37961136e229938b8f735f4 /packages/sol-cov/src
parente5cf41b3134d6cd5fdda995aa81ec23e51bb5145 (diff)
downloaddexon-sol-tools-d8ef76fd5efe63ec8f6205a73494ce388e64391f.tar
dexon-sol-tools-d8ef76fd5efe63ec8f6205a73494ce388e64391f.tar.gz
dexon-sol-tools-d8ef76fd5efe63ec8f6205a73494ce388e64391f.tar.bz2
dexon-sol-tools-d8ef76fd5efe63ec8f6205a73494ce388e64391f.tar.lz
dexon-sol-tools-d8ef76fd5efe63ec8f6205a73494ce388e64391f.tar.xz
dexon-sol-tools-d8ef76fd5efe63ec8f6205a73494ce388e64391f.tar.zst
dexon-sol-tools-d8ef76fd5efe63ec8f6205a73494ce388e64391f.zip
Rename resolver to sol-resolver
Diffstat (limited to 'packages/sol-cov/src')
-rw-r--r--packages/sol-cov/src/collect_contract_data.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/sol-cov/src/collect_contract_data.ts b/packages/sol-cov/src/collect_contract_data.ts
index da56e8d0d..1d8bc7178 100644
--- a/packages/sol-cov/src/collect_contract_data.ts
+++ b/packages/sol-cov/src/collect_contract_data.ts
@@ -12,6 +12,7 @@ export const collectContractsData = (artifactsPath: string, sourcesPath: string,
const artifact = JSON.parse(fs.readFileSync(artifactFileName).toString());
const sources = artifact.networks[networkId].sources;
const contractName = artifact.contract_name;
+ // We don't compute coverage for dependencies
const sourceCodes = _.map(sources, (source: string) => fs.readFileSync(source).toString());
if (_.isUndefined(artifact.networks[networkId])) {
throw new Error(`No ${contractName} artifacts found for networkId ${networkId}`);