Skip to content

Commit 3d8d6a5

Browse files
committed
fix lint
1 parent a88bce0 commit 3d8d6a5

File tree

1 file changed

+1
-2
lines changed
  • packages/cli/src/commands

1 file changed

+1
-2
lines changed

packages/cli/src/commands/add.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,10 @@ export default class AddCommand extends Command {
7474
const network = manifest.result.getIn(['dataSources', 0, 'network']) as any;
7575
const result = manifest.result.asMutable();
7676
const isLocalHost = network === 'localhost'; // This flag prevent Etherscan lookups in case the network selected is `localhost`
77-
let contractService: ContractService | undefined;
7877

7978
if (isLocalHost) this.warn('`localhost` network detected, prompting user for inputs');
8079
const registry = await loadRegistry();
81-
contractService = new ContractService(registry);
80+
const contractService = new ContractService(registry);
8281

8382
let startBlock = startBlockFlag;
8483
let contractName = contractNameFlag;

0 commit comments

Comments
 (0)