diff options
-rw-r--r-- | packages/sol-cov/src/collect_contract_data.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/sol-cov/src/collect_contract_data.ts b/packages/sol-cov/src/collect_contract_data.ts index dffccce2f..d97a7937f 100644 --- a/packages/sol-cov/src/collect_contract_data.ts +++ b/packages/sol-cov/src/collect_contract_data.ts @@ -12,7 +12,8 @@ export const collectContractsData = (artifactsPath: string, sourcesPath: string, const baseName = path.basename(sourceFileName, '.sol'); const artifactFileName = path.join(artifactsPath, `${baseName}.json`); if (!fs.existsSync(artifactFileName)) { - // If the contract isn't directly compiled, but is imported as the part of the other contract - we don't have an artifact for it and therefore can't do anything usefull with it + // If the contract isn't directly compiled, but is imported as the part of the other contract - we don't + // have an artifact for it and therefore can't do anything useful with it return {}; } const artifact = JSON.parse(fs.readFileSync(artifactFileName).toString()); |