diff options
Diffstat (limited to 'packages/sol-cov/src/artifact_adapters')
-rw-r--r-- | packages/sol-cov/src/artifact_adapters/0x.ts | 2 | ||||
-rw-r--r-- | packages/sol-cov/src/artifact_adapters/truffle.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/sol-cov/src/artifact_adapters/0x.ts b/packages/sol-cov/src/artifact_adapters/0x.ts index 87d23b0aa..f61364df6 100644 --- a/packages/sol-cov/src/artifact_adapters/0x.ts +++ b/packages/sol-cov/src/artifact_adapters/0x.ts @@ -7,7 +7,7 @@ import { ContractData } from '../types'; import { AbstractArtifactAdapter } from './abstract'; -export class ZeroExArtifactAdapter extends AbstractArtifactAdapter { +export class SolCompilerArtifactAdapter extends AbstractArtifactAdapter { private _artifactsPath: string; private _sourcesPath: string; constructor(artifactsPath: string, sourcesPath: string) { diff --git a/packages/sol-cov/src/artifact_adapters/truffle.ts b/packages/sol-cov/src/artifact_adapters/truffle.ts index e891bb464..b9c9c4d42 100644 --- a/packages/sol-cov/src/artifact_adapters/truffle.ts +++ b/packages/sol-cov/src/artifact_adapters/truffle.ts @@ -7,7 +7,7 @@ import * as rimraf from 'rimraf'; import { ContractData } from '../types'; -import { ZeroExArtifactAdapter } from './0x'; +import { SolCompilerArtifactAdapter } from './0x'; import { AbstractArtifactAdapter } from './abstract'; export class TruffleArtifactAdapter extends AbstractArtifactAdapter { @@ -35,8 +35,8 @@ export class TruffleArtifactAdapter extends AbstractArtifactAdapter { }; const compiler = new Compiler(compilerOptions); await compiler.compileAsync(); - const zeroExArtifactAdapter = new ZeroExArtifactAdapter(artifactsDir, this._sourcesPath); - const contractsDataFrom0xArtifacts = await zeroExArtifactAdapter.collectContractsDataAsync(); + const solCompilerArtifactAdapter = new SolCompilerArtifactAdapter(artifactsDir, this._sourcesPath); + const contractsDataFrom0xArtifacts = await solCompilerArtifactAdapter.collectContractsDataAsync(); rimraf.sync(artifactsDir); return contractsDataFrom0xArtifacts; } |