From 68d09c0b973c02ca90befc978c2b04c0bc74596a Mon Sep 17 00:00:00 2001 From: StuartGavidia Date: Wed, 8 Nov 2023 15:46:48 -0800 Subject: [PATCH] fix linting --- packages/builder/src/runtime.ts | 2 +- packages/cli/src/commands/alter.test.ts | 2 +- packages/cli/src/commands/fetch.test.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/runtime.ts b/packages/builder/src/runtime.ts index ac560533e..34497d1c3 100644 --- a/packages/builder/src/runtime.ts +++ b/packages/builder/src/runtime.ts @@ -4,7 +4,7 @@ import { ethers } from 'ethers'; import { EventEmitter } from 'events'; import _ from 'lodash'; import { CannonWrapperGenericProvider } from './error/provider'; -import { CannonLoader, InMemoryLoader, IPFSLoader } from './loader'; +import { CannonLoader, IPFSLoader } from './loader'; import { CannonRegistry } from './registry'; import { ChainBuilderRuntimeInfo, ContractArtifact, DeploymentInfo } from './types'; import { getExecutionSigner } from './util'; diff --git a/packages/cli/src/commands/alter.test.ts b/packages/cli/src/commands/alter.test.ts index b44802ce3..c97a30b9b 100644 --- a/packages/cli/src/commands/alter.test.ts +++ b/packages/cli/src/commands/alter.test.ts @@ -83,7 +83,7 @@ describe('alter', () => { jest.spyOn(CannonStorage.prototype, 'readDeploy').mockResolvedValue(testPkgData); jest.spyOn(CannonStorage.prototype, 'putDeploy').mockResolvedValue(newUrl); jest.mocked(createDefaultReadRegistry).mockResolvedValue(Promise.resolve(mockedFallBackRegistry)); - + localLoader = new LocalLoader('path'); ipfsLoader = new CliLoader(new IPFSLoader('ipfs'), new IPFSLoader('ipfs'), 'path'); diff --git a/packages/cli/src/commands/fetch.test.ts b/packages/cli/src/commands/fetch.test.ts index 246d9d6cf..06031539c 100644 --- a/packages/cli/src/commands/fetch.test.ts +++ b/packages/cli/src/commands/fetch.test.ts @@ -155,7 +155,6 @@ describe('fetch', () => { getMetaUrl: jest.fn().mockResolvedValue('file:/usecannon.com/meta'), }; - localLoader = new LocalLoader('path'); ipfsLoader = new CliLoader(new IPFSLoader('ipfs'), new IPFSLoader('ipfs'), 'path');