diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/deployer/src/compiler.ts | 2 | ||||
-rw-r--r-- | packages/resolver/src/resolvers/enumerable_resolver.ts | 2 | ||||
-rw-r--r-- | packages/resolver/src/resolvers/name_resolver.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/deployer/src/compiler.ts b/packages/deployer/src/compiler.ts index ef4e048d5..0a99e5659 100644 --- a/packages/deployer/src/compiler.ts +++ b/packages/deployer/src/compiler.ts @@ -84,7 +84,7 @@ export class Compiler { await createDirIfDoesNotExistAsync(SOLC_BIN_DIR); let contractNamesToCompile: string[] = []; if (this._specifiedContracts.has(ALL_CONTRACTS_IDENTIFIER)) { - const allContracts = this._nameResolver.getAllContracts(); + const allContracts = this._nameResolver.getAll(); contractNamesToCompile = _.map(allContracts, contractSource => path.basename(contractSource.path, constants.SOLIDITY_FILE_EXTENSION), ); diff --git a/packages/resolver/src/resolvers/enumerable_resolver.ts b/packages/resolver/src/resolvers/enumerable_resolver.ts index bb578bb86..0efa43e7c 100644 --- a/packages/resolver/src/resolvers/enumerable_resolver.ts +++ b/packages/resolver/src/resolvers/enumerable_resolver.ts @@ -3,5 +3,5 @@ import { ContractSource } from '../types'; import { Resolver } from './resolver'; export abstract class EnumerableResolver extends Resolver { - public abstract getAllContracts(): ContractSource[]; + public abstract getAll(): ContractSource[]; } diff --git a/packages/resolver/src/resolvers/name_resolver.ts b/packages/resolver/src/resolvers/name_resolver.ts index 522e10142..6849b7610 100644 --- a/packages/resolver/src/resolvers/name_resolver.ts +++ b/packages/resolver/src/resolvers/name_resolver.ts @@ -30,7 +30,7 @@ export class NameResolver extends EnumerableResolver { this._traverseContractsDir(this._contractsDir, onFile); return contractSource; } - public getAllContracts(): ContractSource[] { + public getAll(): ContractSource[] { const SOLIDITY_FILE_EXTENSION = '.sol'; const contractSources: ContractSource[] = []; const onFile = (filePath: string) => { |