diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-04 04:36:44 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-04 04:36:44 +0800 |
commit | c68e1839535e0eeb7c66e8712d1ce786d0f964df (patch) | |
tree | 3d9728dbf45d88552b121e07b3b4c9e427a509f5 /packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts | |
parent | f42119c9286ad70504b6f8395bcdd801a1ac52c3 (diff) | |
download | dexon-sol-tools-c68e1839535e0eeb7c66e8712d1ce786d0f964df.tar dexon-sol-tools-c68e1839535e0eeb7c66e8712d1ce786d0f964df.tar.gz dexon-sol-tools-c68e1839535e0eeb7c66e8712d1ce786d0f964df.tar.bz2 dexon-sol-tools-c68e1839535e0eeb7c66e8712d1ce786d0f964df.tar.lz dexon-sol-tools-c68e1839535e0eeb7c66e8712d1ce786d0f964df.tar.xz dexon-sol-tools-c68e1839535e0eeb7c66e8712d1ce786d0f964df.tar.zst dexon-sol-tools-c68e1839535e0eeb7c66e8712d1ce786d0f964df.zip |
Add missing sol-cov comments
Diffstat (limited to 'packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts')
-rw-r--r-- | packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts | 5 |
1 files changed, 5 insertions, 0 deletions
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 53b77aed5..2f76f730a 100644 --- a/packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts +++ b/packages/sol-cov/src/artifact_adapters/truffle_artifact_adapter.ts @@ -9,6 +9,11 @@ import { SolCompilerArtifactAdapter } from './sol_compiler_artifact_adapter'; export class TruffleArtifactAdapter extends AbstractArtifactAdapter { private readonly _solcVersion: string; private readonly _sourcesPath: string; + /** + * Instantiates a TruffleArtifactAdapter + * @param artifactsPath Path to the truffle project's artifacts directory + * @param sourcesPath Path to the truffle project's contract sources directory + */ constructor(sourcesPath: string, solcVersion: string) { super(); this._solcVersion = solcVersion; |