From 6b7f48644c79c59a7137cd84f9e753910e506df9 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 9 Mar 2018 15:59:46 +0100 Subject: Fix a typo --- packages/sol-cov/src/collect_contract_data.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/sol-cov') 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()); -- cgit