diff options
Diffstat (limited to 'packages/resolver')
-rw-r--r-- | packages/resolver/src/resolvers/enumerable_resolver.ts | 2 | ||||
-rw-r--r-- | packages/resolver/src/resolvers/name_resolver.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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) => { |