diff options
Diffstat (limited to 'packages/sol-cov')
-rw-r--r-- | packages/sol-cov/CHANGELOG.json | 16 | ||||
-rw-r--r-- | packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/packages/sol-cov/CHANGELOG.json b/packages/sol-cov/CHANGELOG.json index ddf81517e..1a0fe43ca 100644 --- a/packages/sol-cov/CHANGELOG.json +++ b/packages/sol-cov/CHANGELOG.json @@ -3,21 +3,25 @@ "version": "2.0.0", "changes": [ { - "note": "Fix a bug when eth_call coverage was not computed because of silent schema validation failures" + "note": + "Fix a bug when eth_call coverage was not computed because of silent schema validation failures", + "pr": 938 }, { - "note": "Make `TruffleArtifactAdapter` read the `truffle.js` config for `solc` settings" + "note": "Make `TruffleArtifactAdapter` read the `truffle.js` config for `solc` settings", + "pr": 938 }, { "note": - "Change the first param of `TruffleArtifactAdapter` to be the `projectRoot` instead of `sourcesDir`" + "Change the first param of `TruffleArtifactAdapter` to be the `projectRoot` instead of `sourcesDir`", + "pr": 938 }, { "note": - "Throw a helpful error message if truffle artifacts were generated with a different solc version than the one passed in" + "Throw a helpful error message if truffle artifacts were generated with a different solc version than the one passed in", + "pr": 938 } - ], - "timestamp": 1532619515 + ] }, { "version": "1.0.3", diff --git a/packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts b/packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts index c662b62b1..2706435cc 100644 --- a/packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts +++ b/packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts @@ -75,7 +75,7 @@ export class TruffleArtifactAdapter extends AbstractArtifactAdapter { throw new Error( `${artifact.contractName} was compiled with solidity ${compilerVersion} but specified version is ${ this._solcVersion - } it will make sol-cov unable to process traces. Please pass the correct version`, + } making it impossible for sol-cov to process traces`, ); } } |