diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-09 22:59:46 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:37:29 +0800 |
commit | 6b7f48644c79c59a7137cd84f9e753910e506df9 (patch) | |
tree | 01912c3e94d8d48fc92116e62d8fd121e5c42594 /packages/sol-cov/src | |
parent | 21aac75533620545b9982cd73a2f0753930db021 (diff) | |
download | dexon-0x-contracts-6b7f48644c79c59a7137cd84f9e753910e506df9.tar dexon-0x-contracts-6b7f48644c79c59a7137cd84f9e753910e506df9.tar.gz dexon-0x-contracts-6b7f48644c79c59a7137cd84f9e753910e506df9.tar.bz2 dexon-0x-contracts-6b7f48644c79c59a7137cd84f9e753910e506df9.tar.lz dexon-0x-contracts-6b7f48644c79c59a7137cd84f9e753910e506df9.tar.xz dexon-0x-contracts-6b7f48644c79c59a7137cd84f9e753910e506df9.tar.zst dexon-0x-contracts-6b7f48644c79c59a7137cd84f9e753910e506df9.zip |
Fix a typo
Diffstat (limited to 'packages/sol-cov/src')
-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()); |